image_enum_list_generator 0.0.1 image_enum_list_generator: ^0.0.1 copied to clipboard
This Flutter package generates an enumeration of image files to prevent typographical errors.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate image_enum_list_generator
Use it
The package has the following executables:
$ image_enum_list_generator
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add image_enum_list_generator
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
image_enum_list_generator: ^0.0.1
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:image_enum_list_generator/image_enum_list_generator.dart';