flutter_secure_dotenv_generator
2.0.1, released 9 months ago by mfazrinizar.com
A development dependency to generate secure dotenv file for flutter_secure_dotenv package.
What it does
Acts as a development dependency and code generator for the flutter_secure_dotenv package to help manage environment variables securely. It processes configuration files and generates the necessary code during build time.
AI-written summary of version 2.0.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You are using the flutter_secure_dotenv package in your Flutter project
- You need to generate secure dotenv files during the build process
Skip it when
- You are not using flutter_secure_dotenv
- You prefer manual environment variable management without code generation
Strengths
- Automates secure dotenv file generation
- Integrated with build_runner and source_gen workflows
Weaknesses
- Requires flutter_secure_dotenv to function
- Adds build-time dependencies
Setup
- Kind
- Pure Dart
- Effort
- Low
- Code generation
- Yes (build_runner)
- Direct dependencies
- 9
Add as a development dependency alongside build_runner and configure for your flutter_secure_dotenv setup.
Alternatives
Packages that do the same job and could replace flutter_secure_dotenv_generator.
- mason
Dart template generator for quick file creation
89Compare - envied
Explicitly reads environment variables into a dart file from a .env file.
86Compare - drift_dev
Generates Dart database code from Drift table definitions as a dev‑dependency.
84Compare - protobuf
Provides runtime support for Dart protocol buffer messages generated by protoc_plugin.
84Compare
Works with
Packages commonly used together with flutter_secure_dotenv_generator: ones it builds on, ones built on it, and its own family.
- analyzerflutter_secure_dotenv_generator depends on itPerforms static analysis of Dart code for tool integration and embedding.
- loggingflutter_secure_dotenv_generator depends on itProvides configurable logging with levels and stream listeners for Dart apps.
- buildflutter_secure_dotenv_generator depends on itPackage for authoring build_runner compatible code generators.
- source_genflutter_secure_dotenv_generator depends on itSource code generation builders and utilities for the Dart build system.
- pointycastleflutter_secure_dotenv_generator depends on itA Dart library providing a wide range of cryptographic algorithms and primitives.
- source_helperflutter_secure_dotenv_generator depends on itUtilities to help with Dart source code generation and string literal formatting.
- dotenvflutter_secure_dotenv_generator depends on itLoad environment variables at runtime from a .env file.
- flutter_secure_dotenvflutter_secure_dotenv_generator depends on itSecurely load and decrypt .env files in Flutter/Dart using AES encryption.