stacked_generator 0.7.15 stacked_generator: ^0.7.15 copied to clipboard
Stacked Generator is a package dedicated to reduce the boilerplate required to setup a stacked application
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add stacked_generator
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
stacked_generator: ^0.7.15
Alternatively, 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:stacked_generator/builder.dart';
import 'package:stacked_generator/import_resolver.dart';
import 'package:stacked_generator/route_config_resolver.dart';
import 'package:stacked_generator/utils.dart';