flutter_dotenv icon indicating copy to clipboard operation
flutter_dotenv copied to clipboard

Loads environment variables from `.env`.

Results 69 flutter_dotenv issues
Sort by recently updated
recently updated
newest added

In a number of instances, [the DotEnv package logs to stderr when an error occurs, instead of throwing an ecxeption](https://github.com/java-james/flutter_dotenv/blob/846cc93023c9092a2b2a91a80cc3cd2ab703d109/lib/src/dotenv.dart#L80) [This seems to at least partially stem from the original...

breaking change

Hi, currently I am running flutter_dotenv 5.1.0, with dart --version 3.1.5 Inside my isolate code, I am calling dotenv.load(file) since I need in my process some of the environment variables...

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...

When I try to load `.env` file which is completely empty, the `load` function ends with `EmptyEnvFileError` exception, even if I pass `isOptional` argument. At the same time, when I...

I recently decided to build and run a web version of my app. I was really surprised to find out that your env file is clearly visible in the Google...

In order to improve the library usability, it would be nice to export the library errors.

It would be nice to give the possibility to the developer to react to the different errors that a library may have. In the case of `flutter_dotenv` it is not...

Hi i am working in flutter web app.need to use the env.so that i have used the flutter_dotenv package. i created .env file and add all credentials to that. its...