Flutter-gen

Latest version: v2.2.0

Safety actively analyzes 642295 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 8

4.2.0

**Feature**
- [208](https://github.com/FlutterGen/flutter_gen/pull/208) Add scale and opacity parameters to Image().
- [221](https://github.com/FlutterGen/flutter_gen/pull/221) Support for build_runner watch.
- [227](https://github.com/FlutterGen/flutter_gen/pull/227) Maintenance for Flutter3 (flutter_lints to 2.0.1).
- [229](https://github.com/FlutterGen/flutter_gen/pull/229) Removed the AssetImage inheritance from AssetGenImage.
- [Extending package information to asset types other than AssetGenImage.](https://github.com/FlutterGen/flutter_gen/pull/162)
- [Added 'gen_for_package:true/false' param to support asset generation for a package.](https://github.com/FlutterGen/flutter_gen/pull/213)
dart
// Before
Widget build(BuildContext context) {
return Image(image: Assets.images.chip); // Can't use this.
}
// After
Widget build(BuildContext context) {
return Assets.images.chip.image();
}

- Added example_resource package for how to use another package resources from an app.
dart
file: example_resources/pubspec.yaml
...
flutter_gen:
...
assets:
enabled: true
package_parameter_enabled: true

...

- [230](https://github.com/FlutterGen/flutter_gen/pull/230) Add coverage ignore comment on generated file headers.
- Update collection to 1.16.0.
- Update min dart sdk to >=2.14.0 <3.0.0.


**Development**
- Update to Dart 2.17.1
- Update to Flutter 3.0.1

4.1.21

**Development**
- Added sample code.

4.1.6

**Feature**
- [199](https://github.com/FlutterGen/flutter_gen/pull/199) [#201](https://github.com/FlutterGen/flutter_gen/pull/201) Expose some parameters of SvgPicture (flutter_svg).
- theme
- cacheColorFilter

4.1.5

**Bug fix**
- [187](https://github.com/FlutterGen/flutter_gen/issues/187) Update dependencies.
- analyzer

4.1.4

**Feature**
- [180](https://github.com/FlutterGen/flutter_gen/issues/180) [#182](https://github.com/FlutterGen/flutter_gen/pull/182) Update to dartx 1.0.0 and json_serializable to 6.0.0

**Development**
- Update to Dart 2.15.0
- Update to Flutter 2.8.1

4.1.3

**Bug fix**
- [172](https://github.com/FlutterGen/flutter_gen/pull/172) [#173](https://github.com/FlutterGen/flutter_gen/pull/173) Add unnecessary_import in ignore_for_title because cause warning from Dart 2.15.

Page 3 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.