AngeloAvv / flutter_flavorizr

A flutter utility to easily create flavors in your flutter application
https://pub.dev/packages/flutter_flavorizr
MIT License
456 stars 81 forks source link

flutter_flavorizr regenerates all the dart files #183

Closed imsujan276 closed 1 year ago

imsujan276 commented 1 year ago

I have used the flutter_flavorizr package to generate the prod and dev versions of the app, and it works great.

But the issue is, every time I run the command flutter pub run flutter_flavorizr, it regenerates/adds all the default dart files. The changes in main.dart and flavors.dart are lost.

Is there any way to stop regenerating the dart files?

AngeloAvv commented 1 year ago

Duplicate of #9

imsujan276 commented 1 year ago

Seems like this issue is there since 2020.