flutter_gen_runner 4.1.0 flutter_gen_runner: ^4.1.0 copied to clipboard
The Flutter code generator for your assets, fonts, colors, … — Get rid of all String-based APIs.
4.0.1 #
Feature
- #138 Generate dartdoc as follows.
/// File path: pictures/chip5.jpg AssetGenImage get chip5 => const AssetGenImage('pictures/chip5.jpg'); /// Color: #979797 static const Color gray410 = Color(0xFF979797);
- #143 Support Rive files type.
flutter_gen: integrations: rive: true
- #150 Added the --version option for command-line.
Bug fix% fluttergen --version FlutterGen v4.1.0
- #134 Added the ability to support the at symbol (@) in file names.
DevelopmentSvgGenImage get logo2x => const SvgGenImage('assets/images/logo@2x.png');
- Update to Dart 2.14.4.
- Update to Flutter 2.5.3.
- Replace to renovate.
4.0.1 #
4.0.0 #
Features
- [BREAKING] Ended support for Non null safety codes.
- Use for
line_length
instead oflineLength
.
Development
- Replace to Melos.
- Add VSCode setting.
3.1.2 #
-
#117 Update to analyzer 2.0.0.
flutter_gen_runner (flutter_gen_core) 3.1.2 -> analyzer 2.0.0 workarounddependency_overrides: meta: ^1.7.0
-
#110 Replace null safety dart style package.
3.1.1 #
Features & Bug fix
- #103 Add option packageParameterEnabled to control whether to generate package parameter for assets or not.
3.1.0 #
2.0.0 #
New Feature
- [BREAKING CHANGE] #49 #53 Name collision with flutter localization when using build_runner
# Before # dev_dependencies: # flutter_gen: 1.3.1 # After dev_dependencies: flutter_gen_runner: ^2.0.0
- #74 Doesn't generate assets.gen.dart when there are no assets
flutter_gen: fonts: enabled: false
- #59 Handling duplicate file names
// generated codes static const AssetGenImage imagesProfileJpg = AssetGenImage('assets/images/profile.jpg'); static const AssetGenImage imagesProfilePng = AssetGenImage('assets/images/profile.png');
Bug fix
- #75 Null safety support for generated files
1.3.0 #
New Feature
- #46 Added support for unknown mime type files.
- Added support for Rive (previously Flare) files.
1.1.0 #
New Feature
- #33 Support to generate flat hierarchy assets with field name style:
- camel-case
- snake-case
- dot-delimiter (Default)
1.0.0 #
Initial release.
-
Assets generator
- Supported image type.
- Supported SVG as an integration.
- And others.
-
Fonts generator
-
Colors generator
- Supported xml file.
- MaterialColor
- Supported xml file.