flutter_gen 3.0.1 copy "flutter_gen: ^3.0.1" to clipboard
flutter_gen: ^3.0.1 copied to clipboard

outdated

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

3.0.0, 3.0.1 #

  • Support Null Safety
flutter_gen:
  output: lib/gen/
  line_length: 80
  null_safety: true # Optional (default: true)

2.0.1, 2.0.2, 2.0.3 #

  • Update dependencies

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

Bug fix

  • #60 Set files like .DS_Store to the ignore list.

1.3.0 #

New Feature

1.2.2 #

Bug fix

  • #51 Added support for Key parameter in image() and svg().

1.2.1 #

Bug fix

  • #42 Generated output folder name not being respected

1.2.0 #

New Feature

  • #40 Support MaterialAccentColor

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

Bug fix

  • Insufficient params of flutter_svg #32

1.0.2 #

Bug fix

  • Generate sorted statements #27
  • Make Windows work properly #28

1.0.1 #

Bug fix

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
1284
likes
0
pub points
98%
popularity

Publisher

verified publisherwasabeef.jp

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

Repository (GitHub)
View/report issues

Documentation

Documentation

License

unknown (LICENSE)

Dependencies

args, flutter_gen_core

More

Packages that depend on flutter_gen