dart_exporter 3.0.3 dart_exporter: ^3.0.3 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: true
#false (default): export all items, use @DoNotExport() annotation to hide
#true: hide all items, use @Export() annotation to show
dart pub run build_runner build