Skip to content

A repository contains Flutter templates that are used by Nimble developers

License

Notifications You must be signed in to change notification settings

narakai/flutter-templates

 
 

Repository files navigation

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.

About

A repository contains Flutter templates that are used by Nimble developers

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dart 69.1%
  • Ruby 29.0%
  • Swift 1.5%
  • Other 0.4%