flutter_gen
flutter_gen copied to clipboard
The Flutter code generator for your assets, fonts, colors, … — Get rid of all String-based APIs.
We have around 50 icons in our app and we would like to autogenerate a value getter that returns a list of all the assets in the class ```dart class...
Hi thanks for this wonderful library! I have different files for different languages, for example, `zh/one.png`, `en/one.png`, `zh/two.png`, `en/two.png`, .... Then I hope to access the correct variant based on...
The change committed on 05/20/2022, Removing AssetImage inheritance from AssetGenImage (https://github.com/dnfield/flutter_svg/issues/229), broke using generated assets as the image to display for an Image widget because image argument must be of...
### What does this change? This PR implements a feature requested in #186. It adds `values` getter at the end of generated classes for directories with the list of all...
The current version of `flutter_gen_runner` failes with the following error: ``` [SEVERE] flutter_gen_runner:flutter_gen_runner on $package$ (cached): Bad state: No element [SEVERE] Failed after 16.0s ``` Running the build runner in...
assets/images/olp/2.png
I know there must be some tools. But I'm worry about the integration between `flutter_gen` and `ANY_ASSETS_TOOL`
flutter_gen_runner: ^4.1.6 
 At first I used this method: `'page.login.userName'.tr`. I want to change it to the following I thought fluttergen could do this, but it does not support custom generation
Hey there! Would be great to have integration for the lottie files (through https://pub.dev/packages/lottie). Right now in the project I'm working on we're using the syntax: ``` Lottie.asset(Assets.animations.animationName) ``` but...