flutter_gen icon indicating copy to clipboard operation
flutter_gen copied to clipboard

The Flutter code generator for your assets, fonts, colors, … — Get rid of all String-based APIs.

Results 112 flutter_gen issues
Sort by recently updated
recently updated
newest added

Sometimes I have assets that are not on the list of supported extensions but I would still like to have strings generated for them. At the moment flutter_gen just ignores...

bug

### What does this change? - Adds [lottie](https://pub.dev/packages/lottie) integration. - Checks for lottie files by in json tags - Example includes on how to use it - Docs changed accordingly...

`swiftgen` uses stencils as a very smart way to provide templates to manipulate the generated code. I'd be happy to implement a feature for `flutter_get`, if the community finds that's...

enhancement
contributions welcome

### What does this change? Autogenerate List with assets in class - #186 - #270

Before #291 ### What does this change? Add support for an ImageProvider function. - #235

### What does this change? **before** ```yaml flutter_gen: # ... assets: enabled: true package_parameter_enabled: true style: snake-case outputs: class_name: MyAssets ``` **`v5.0.0` or later.** ```yaml # ... assets: enabled: true...

So... in your doc you mention `build_runner` but finally we need to manually run `_fluttergen -c /pubspec.yaml_` each time we add/rename/remove an asset ...right ? Because even if I remove...

[Fetature request: custom name for 'Assets' class](https://github.com/FlutterGen/flutter_gen/issues/167) ### What does this change? Add output_class config for assets to allow users to custom their assets class name @wasabeef Please help me...

Hi thanks for this wonderful package! I would appreciate it if i18n could be supported. For example, for https://github.com/Tienisto/slang: ``` String get myObject { switch (LocaleSettings.currentLocale) { case AppLocale.zh: return...

enhancement
contributions welcome