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.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add dotenv_class_builder

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  dotenv_class_builder: ^0.1.3

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:dotenv_class_builder/dotenv_class_builder.dart';
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