wednesday-solutions / flutter_template

A Flutter template application showcasing - Clean architecture, Responsive design, State management, Decoupled widgets using the connector pattern, Dependency Injection, Widget, Unit, Golden and E2E testing, Navigation, Localization, Material 3 dynamic theming, Continuous Integration and Continuous Deployment.
https://wednesday.is/building-products/?utm_source=github&utm_medium=flutter_template
MIT License
337 stars 57 forks source link

Replace flutter_dotenv to --dart-define-from-file #50

Open deandreamatias opened 6 months ago

deandreamatias commented 6 months ago

Dart define from file is the recommended way to pass environment variables to Dart and native code. Can show a example on this architecture and a article here

Jainakin commented 3 months ago

Hey @deandreamatias, I want to work on this enhancement, can you assign this to me. Thanks!

deandreamatias commented 3 months ago

@Jainakin I don't work on wednesday solutions. Also, maybe can't use --dart-define-from-file on native side, because this https://github.com/flutter/flutter/issues/139289#issuecomment-2045406335