talira

Compare

dotenv (Dart)flutter_dotenv
What it isLoad environment variables at runtime from a .env file in DartLoad configuration into a Flutter app from a .env file
KindOpen sourceOpen source
Trust0.190.42
Stars116246
Last commit2023-10-182026-11-14
LicenceMITMIT
PricingFree and open sourceFree and open source
Free tierYesYes
Self-hostable——
Ways to run it——
SOC 2——
HIPAA——
SSO——
API——
Plugins——
MCP server——
CompanymockturtlJames Collins
Features
  • parses a .env file at runtime
  • optionally merges its values with Platform.environment
  • CLI to create a .env file and add it to .gitignore
  • CLI to print the file's variables or the whole environment
  • load a .env asset or a string at startup
  • typed getters (int, bool, double) with fallbacks
  • variable interpolation with double quotes, none with single quotes
  • override files and programmatic values merged with set precedence
  • merge system environment variables where dart:io is available
Limitations
    • Values are bundled into the app binary and can be extracted, so it must not hold secrets such as API keys or tokens.