Skip to content

[BUG]: fluttergen command is not updated #674

Open
@msxenon

Description

@msxenon

Is there an existing issue for this?

  • I have searched the existing issues

Version

5.10.0

Command type

fluttergen
but using dart run build_runner build is working as expected without generating AssetGenImage

What happened?

Hey there!
I need it to generate paths only without AssetGenImage, so after turning it off -- its still being generated, I think this issue has been solved in #645, So any solution please?

  /// File path: assets/images/ui/x.png
  static const AssetGenImage imagesUiX=
      AssetGenImage('assets/images/ui/x.png');

  /// File path: assets/images/ui/s.svg
  static const String imagesUiS = 'assets/images/ui/s.svg';

### Relevant a pubspec.yaml.

```yaml
flutter_gen:
  assets:
    enabled: true
    outputs:
      class_name: AppAssets
      style: camel-case
  integrations:
    image: false
    flutter_svg: false
    rive: false
    lottie: false

Relevant log output

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions