dart_exporter 3.0.1 dart_exporter: ^3.0.1 copied to clipboard
generate exports with build runner
Create exports with build runner
Usage #
Add package to dev_dependencies
dev_dependencies:
build_runner:
dart_exporter: {version}
Config #
add export configs to pubspec.yaml
dart_exporter:
ingore_if_path_matched:
- .g.dart
- .gen.dart
use_export_annotation: false (default is true)
//false: export all items, use @DoNotExport() annotation to hide
//true: hide all items, use @Export() annotation to show
dart pub run build_runner build