Skip to content

Latest commit

 

History

History
83 lines (52 loc) · 4.71 KB

README.md

File metadata and controls

83 lines (52 loc) · 4.71 KB

Flutter Templates

All the templates can be used to kick off a new Flutter project quickly.

Features

Optional (enable by generator command parameters)

Use the template

Prerequisites

Before using the template, ensure that you have installed the following prerequisites on your system:

Set up a new project

Follow these steps to set up a new project from the template:

  1. Use Use this template feature to create your new project repository or clone this template repository to your local machine.

  2. Fetch all required bricks by running the command:

    $ mason get

  3. 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 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.

Documentation

Check out the Wiki page to access the complete documentation.

License

This project is Copyright (c) 2014 and onwards. It is free software, and may be redistributed under the terms specified in the LICENSE file.

About

Nimble

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.