mason 0.0.1-dev.45
mason: ^0.0.1-dev.45 copied to clipboard

A Dart template generator which helps teams generate files quickly and consistently.

Use this package as an executable

1. Install it

You can install the package from the command line:

$ dart pub global activate mason

Use it

The package has the following executables:

$ mason

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add mason

With Flutter:

 $ flutter pub add mason

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):


dependencies:
  mason: ^0.0.1-dev.45

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:mason/mason.dart';
73
likes
120
pub points
74%
popularity

A Dart template generator which helps teams generate files quickly and consistently.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

args, checked_yaml, collection, crypto, http, io, json_annotation, mustache_template, path, recase, yaml

More

Packages that depend on mason