dotenv_class_builder 0.1.3 copy "dotenv_class_builder: ^0.1.3" to clipboard
dotenv_class_builder: ^0.1.3 copied to clipboard

A Flutter package for generating a Dart class from .env variables.

0.1.3 #

  • FIX: README.md example build.yaml file content build_extensions

0.1.2 #

  • FIX: generate empty Environment or another classes
  • FIX: include just in lib directory .env files
  • FIX: missing build_runner package
  • UPDATE: output to lib/util/environments.g.dart
  • UPDATE: README.md (Usage)

0.1.1 #

  • FIX: On use class_name another time or another file clear latest variables.
  • FIX: On use many .env files write same classes many times.
  • FIX: build.yaml file
  • FIX: Clear .env files

0.1.0 #

  • Convert .env files to /lib/utils/environments.g.dart
  • Can handle String, int, bool, DateTime
  • Can describe environment class name with //START_CLASS=<YOUR_CLASS_NAME> and with close //END_CLASS
  • in build.yaml options > env_file_paths parameter can add env files paths
1
likes
120
points
63
downloads

Publisher

verified publisherrapthor.dev

Weekly Downloads

A Flutter package for generating a Dart class from .env variables.

Repository (GitHub)

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

build, flutter

More

Packages that depend on dotenv_class_builder