java-james / flutter_dotenv

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

Should not break build if no .env file is found #70

Open simplenotezy opened 2 years ago

simplenotezy commented 2 years ago

Just like many other dotenv libraries, I don't think it's ideal if the build fails if no .env file is found.

For instance, we mainly use .env files for different environment config when working locally, so that it does not get pushed to repository, while leveraging defaults for non-set .env variables.

Related