Mason Flutter Templates
A collection of templates to make new Flutter components using the Mason build tool.
Setup in Project
To use these templates in your own Flutter project:
- Install Mason in your terminal using
pub global activate mason
. - Copy the
mason.yaml
file fromexample/mason.yaml
into the root of your own project.
Usage
With mason installed, run mason make [template]
it will promp you for required variables.
Templates Avalible
Name | Description |
---|---|
page | A standard page without a bloc. Also generates testing scaffold. |
stateful_page | A standard page with a bloc. Also generate testing scaffold. |