Skip to content

Latest commit

 

History

History
34 lines (22 loc) · 1 KB

README.md

File metadata and controls

34 lines (22 loc) · 1 KB

pub package

Files Exporter

A new Flutter package that allows you to auto export types globally.

This package is a fork version of auto_export package.

Thank you Alberto Monteiro for your repository.

Getting Started

To use auto export feature, you just need to add the @export annotation to your class that you want to be automatically exported in the lib/auto_export.dart file.

Then in your other files, you just need to import the auto_export.dart file to have access to all auto exported files

Example

  1. Add @export annotation to your class
  /// don't forget to import this package
  import 'package:files_exporter/files_exporter.dart';

  @export
  class MyExportedClass {
    // ...
  }
  1. In your terminal, run the following command
$ dart run build_runner build