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

Referring to official flutter i18n guide: https://docs.flutter.dev/development/accessibility-and-localization/internationalization Running flutter pub get will generate this file `.dart_tool/flutter_gen//gen_l10n/app_localization.dart` thus to use the localization we will need to do `import'package:flutter_gen/gen_l10n/app_localizations.dart'` hence it have...

Similiar to AssetImage's keyName property it would be helpful to change AssetGenImage's `path` property to include package so we can hide the package name inside of AssetGenImage: ``` - String...

I was trying to generate assets by running `flutter pub run build_runner build --delete-conflicting-outputs` , success without any error but no file has been generated. this is part of my...

### What does this change? Many developers use json based translations, this PR adds strings.dart class generator from json files. pubspec.yaml ``` flutter_gen: output: lib/gen/ line_length: 80 strings: enabled: true...

For example, I don't need 1x image, how to deal with it? ``` assets/ images/ 2.0x/a.png 3.0x/a.png ``` ```yaml assets: - assets/images/ ``` i think, `flutter_gen` should generate: ```yaml assets:...

Hi, thanks for the package. I'm using Json file to store translation strings: ``` { "appTitle": "Title", "continueButton": "Continue" } ``` And I want to generate `Strings` class from it...

Some resources are no longer used, but they are not deleted immediately, how can I quickly find out later? Can you provide an interface for discovering unused resources and quickly...

As a developer, I would like my assets to load with as little delay as possible. This is achievable via `precacheImage` and `precachePicture` (using flutter_svg). It can be done with...

Flutter webview also can load asset files, how about add support to package html, css, js file ?