flutter_flavor_dotenv 0.0.2 copy "flutter_flavor_dotenv: ^0.0.2" to clipboard
flutter_flavor_dotenv: ^0.0.2 copied to clipboard

A type-safe, multi-flavor Flutter environment manager. Supports Dev/Staging/Prod flavors with .env file parsing and build-time validation.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add flutter_flavor_dotenv

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

dependencies:
  flutter_flavor_dotenv: ^0.0.2

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:flutter_flavor_dotenv/flutter_flavor_dotenv.dart';
1
likes
160
points
209
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A type-safe, multi-flavor Flutter environment manager. Supports Dev/Staging/Prod flavors with .env file parsing and build-time validation.

Repository (GitHub)
View/report issues

License

Apache-2.0 (license)

Dependencies

flutter

More

Packages that depend on flutter_flavor_dotenv