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

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...

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 ![image](https://user-images.githubusercontent.com/14163140/170691669-a46db8bb-513f-4257-b062-1e9bf1854837.png)

![image](https://user-images.githubusercontent.com/10414815/172843548-1ac1420f-9e8c-4ac9-9cbf-2c93934a60c3.png) 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...

contributions welcome