stacked_generator 2.0.0-pre.1 copy "stacked_generator: ^2.0.0-pre.1" to clipboard
stacked_generator: ^2.0.0-pre.1 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: ^2.0.0-pre.1

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/utils.dart';