flutter_boilerplate_generator 2.1.0
flutter_boilerplate_generator: ^2.1.0 copied to clipboard
A Dart code generator for Flutter boilerplate: model, entity, hive, and cubit state. Generates JSON serialization, copyWith, value equality, entity/Hive mapping, and pattern-matching extensions.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add flutter_boilerplate_generatorThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
flutter_boilerplate_generator: ^2.1.0Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:flutter_boilerplate_generator/flutter_boilerplate_generator.dart';