config_builder 2.1.0
config_builder: ^2.1.0 copied to clipboard

Build your app config via code generation from .json files in a type safe way

example/lib/main.dart

import 'package:config_builder_example/config.dart';
import 'package:config_builder_example/do_stuff_with_config.dart';

void main(){
  // run 'flutter packages pub run build_runner build' to generate the code
  final Config config = prodConfig;
  printConfig(config);
}
3
likes
110
pub points
52%
popularity

Build your app config via code generation from .json files in a type safe way

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (LICENSE)

Dependencies

analyzer, build, glob, source_gen

More

Packages that depend on config_builder