yhbsh
yhbsh
> @yhbsh yes, hence the "add the .env" into your `pubspec.yml` step. This approach is flawed in its core, sadly. > > ```yml > assets: > - .env > ```...
> @yhbsh agree. I found this package [envied](https://pub.dev/packages/envied) it uses the `build_runner` to take the `.env` contents and bake them into a generated file. > > I added the `.env`...
> @yhbsh I haven't tried, i read it in [this article](https://codewithandrea.com/articles/flutter-api-keys-dart-define-env-files/#compiling-and-running-the-app-with---dart-define) > > > The main advantage of using --dart-define is that we're no longer hardcoding sensitive keys in the...