flutter_boilerplate_tool 1.0.2
flutter_boilerplate_tool: ^1.0.2 copied to clipboard
flutter_boilerplate_tool is a command-line utility designed to simplify the creation of boilerplate code for Flutter projects.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate flutter_boilerplate_toolUse it
The package has the following executables:
$ flutter_boilerplate_tool
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add flutter_boilerplate_toolWith Flutter:
$ flutter pub add flutter_boilerplate_toolThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
flutter_boilerplate_tool: ^1.0.2Alternatively, 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:flutter_boilerplate_tool/flutter_boilerplate_tool.dart';