flavorz 1.0.5 copy "flavorz: ^1.0.5" to clipboard
flavorz: ^1.0.5 copied to clipboard

Generate Different Environments For Your Application From A Single Json File. With Pure Dart.

example/flavorz_example.dart

import 'env.flavorz.dart';

/// After you running `dart run build_runner build`,
/// you can write the following in your main (uncomment the lines)
/// and import the needed files.
///
/// For more info. refer to the README.md file
void main() async {
  // WidgetsFlutterBinding.ensureInitialized();
  final type = Environment().type;
  print(type);
}
5
likes
160
points
62
downloads

Publisher

verified publisheraymanz.dev

Weekly Downloads

Generate Different Environments For Your Application From A Single Json File. With Pure Dart.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

build, flutter

More

Packages that depend on flavorz