brick_oven 0.1.4-dev brick_oven: ^0.1.4-dev copied to clipboard
Easily create & format mason brick templates with the brick_oven cli generator for mason
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate brick_oven
Use it
The package has the following executables:
$ brick_oven
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add brick_oven
With Flutter:
$ flutter pub add brick_oven
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
brick_oven: ^0.1.4-dev
Alternatively, 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:brick_oven/brick_oven.dart';