Closed DigitalSeneca closed 9 months ago
I'd rather go for using prod as default instead of dev, just to avoid accidentally releasing new apps with dev configurations.
done
By the way, could you take a look at https://github.com/flutter/flutter/pull/128668 ? It seems from flutter 3.13 there is native support for .env files (see --dart-define-from-file)
I upgraded from flutter 3.0.0 to 3.13 to try it, but this upgrade generate errors in the code due to dependencies deprecations. So before being able to try this, some dependencies should be handled
fixes #41
Description of changes
How to use
flutter run -t lib/main_dev.dart
flutter run
orflutter run -t lib/main_prod.dart