flutter_env_config 1.0.0 copy "flutter_env_config: ^1.0.0" to clipboard
flutter_env_config: ^1.0.0 copied to clipboard

A Flutter package to manage environment-specific configurations using a JSON file. Easily load and access different settings based on the target environment (e.g., dev, staging, prod).

Flutter Env Config Manager #

A powerful and flexible environment configuration management package for Flutter projects. This package simplifies managing and switching between multiple environment configurations (e.g., dev, staging, prod) and allows runtime updates, making it ideal for scalable applications.

Features #

  • Load environment configurations from JSON or YAML files.
  • Dynamic configuration updates at runtime using ValueNotifier.
  • Centralized environment management with a singleton pattern.
  • Supports CI/CD configurations, API settings, theming, analytics, and more.
  • Easy-to-use methods for testing and environment overrides.

Installation #

Add the following line to your pubspec.yaml:

dependencies:
  flutter_env_config: <version>

Run

flutter pub get

Usage #

Import the Package

import 'package:flutter_env_config/flutter_env_config.dart';
0
likes
0
points
14
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package to manage environment-specific configurations using a JSON file. Easily load and access different settings based on the target environment (e.g., dev, staging, prod).

Repository (GitHub)
View/report issues

Funding

Consider supporting this project:

buymeacoffee.com

License

unknown (license)

Dependencies

build_runner, flutter, yaml, yaml_writer

More

Packages that depend on flutter_env_config