easy_enum 1.0.0 copy "easy_enum: ^1.0.0" to clipboard
easy_enum: ^1.0.0 copied to clipboard

Annotation for generating `EasyEnum` extensions code using `easy_enum_generator`.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add easy_enum

With Flutter:

 $ flutter pub add easy_enum

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  easy_enum: ^1.0.0

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:easy_enum/easy_enum.dart';
2
likes
120
pub points
5%
popularity

Publisher

unverified uploader

Annotation for generating `EasyEnum` extensions code using `easy_enum_generator`.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

More

Packages that depend on easy_enum