dart_exporter 3.0.0 copy "dart_exporter: ^3.0.0" to clipboard
dart_exporter: ^3.0.0 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