All the templates can be used to kick off a new Flutter project quickly.
MVVM
and pre-built foundational components.Staging
and Production
. Environment variables are supplied through .env
files through flutter_config.Codecov
.Before using the template, ensure that you have installed the following prerequisites on your system:
Follow these steps to set up a new project from the template:
Use Use this template feature to create your new project repository or clone this template repository to your local machine.
Fetch all required bricks by running the command:
$ mason get
Generate the new project by running the following command with supported arguments:
$ mason make template
and then provide necessary inputs.
or
$ mason make template -c mason-config.json
to provide necessary inputs via a JSON file, e.g., mason-config.json for the sample project.
Once the project is generated, please refer to the [Getting Started](bricks/template/brick/%7B%7Bproject_name.snakeCase()%7D%7D#getting-started) documentation to make it ready for development.
That's it! You have now set up a new Flutter project using the template 🎉
Note
The script generates all project files to the current working folder as default and cleans up all template stuff in the end. Run it with Custom Output Directory to set a custom output folder and keep the template stuff to rerun.
$ mason make template -c mason-config.json -o my_flutter_project
You can find detailed information on
make
command options and usage in the Mason documentation.
Check out the Wiki page to access the complete documentation.
This project is Copyright (c) 2014 and onwards. It is free software, and may be redistributed under the terms specified in the LICENSE file.
This project is maintained and funded by Nimble.
We love open source and do our part in sharing our work with the community! See our other projects or hire our team to help build your product.