java-james / flutter_dotenv

Loads environment variables from `.env`.
https://pub.dartlang.org/packages/flutter_dotenv
MIT License
209 stars 46 forks source link

Placement of multiple .envs #103

Open alexw92 opened 1 month ago

alexw92 commented 1 month ago

Suppose I have .env.dev and .env.prod, where would i put them if I want to include only the prod env in a production bundle? The example places the .env file in assets but arent all assets part of build bundle? It would be cool if there was an example for dealing with multiple envs storing all of them in the same location. Maybe it is super obvious, in that case I am sorry to ask