powerflutter_code_generation 0.1.1 powerflutter_code_generation: ^0.1.1 copied to clipboard
Code Generation for Powerflutter for Models, Assets and more use as dev_dependency and add annotations to your code
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add powerflutter_code_generation
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
powerflutter_code_generation: ^0.1.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:powerflutter_code_generation/powerflutter_code_generation.dart';