FlutterGen / flutter_gen

The Flutter code generator for your assets, fonts, colors, … — Get rid of all String-based APIs.
https://pub.dev/packages/flutter_gen
MIT License
1.48k stars 150 forks source link

[BUG]: Material image conflict with rive image on generated file #566

Closed mohsinraza-fdev closed 2 months ago

mohsinraza-fdev commented 2 months ago

Is there an existing issue for this?

Version

5.7.0

Command type

build_runner (Default)

What happened?

image

Import conflict of Image class from Material and Rive, in the generated file

Relevant a pubspec.yaml.

name: digital_hire_mobile

flutter_gen:
  output: lib/assets_gen/
  line_length: 80

  integrations:
    flutter_svg: true
    rive: true
    lottie: true

flutter:
  assets:
    - assets/icons/
    - assets/images/
    - assets/fonts/
    - assets/translations/

Relevant log output

No response

Code of Conduct

AlexV525 commented 2 months ago

Duplicate of https://github.com/FlutterGen/flutter_gen/issues/545