tarsier_env 1.0.6 copy "tarsier_env: ^1.0.6" to clipboard
tarsier_env: ^1.0.6 copied to clipboard

A Dart/Flutter package for loading `.env` files and simplifies the management of environment variables and helps automate the process of accessing them within your project.

1.0.6 #

  • Optimized parsing for better readability.
  • Improved parsing or .env content
    • Keeps # inside values if there’s no space before it
    • Removes inline comments only when a space exists before #
    • Trims surrounding double quotes
    • Supports variable referencing (${VAR_NAME})
    • Handles concatenation (e.g., "${APP_URL}${APP_PATH}")
    • Removes quotes & skips comments properly
  • Added function to get value dynamically for any type while providing a valid default fallback.
  • Added pubspec topics
  • Modified README file for newly added enhancement

1.0.5 #

  • Enabled package to support global activate
  • Fixed issue on loading .env file
  • Added .env as flutter assets on pubspec
  • Loaded .env file as assets
  • Added capability to auto add WidgetFlutterBinding
  • Enhanced flutter example
  • Upgrade SDK constraint
  • Added flutter example screenshot

1.0.4 #

  • Added pubspec screenshot

1.0.3 #

  • Fixed wrong command entries
  • Added more detailed library docs

1.0.2 #

  • Fixed pub analysis warning
  • Added package logo

1.0.1 #

  • Fixed placeholder of app name in the .env file

1.0.0 #

  • Initial version.
1
likes
160
points
28
downloads
screenshot

Publisher

unverified uploader

Weekly Downloads

A Dart/Flutter package for loading `.env` files and simplifies the management of environment variables and helps automate the process of accessing them within your project.

Repository (GitHub)
View/report issues

Topics

#tarsier #env #environment

Documentation

API reference

License

MIT (license)

Dependencies

tarsier_logger

More

Packages that depend on tarsier_env