A brick which creates a new flutter project.
Generated by mason 🧱
A wrapper for flutter create
or fvm flutter create
command and add some management files.
- select use FVM for manage flutter SDK version
- and modify .gitignore (base is here)
- add
vscode
files- extensions.json
- settings.json (from Recommended Settings)
- add .gitattributes
- mason_cli. (see installation)
- FVM ※if needed
Add this package.
mason add -g flutter_creator --git-url https://github.com/tommylife88/flutter_crerator.git
mason make flutter_creator --on-conflict overwrite
You'll be prompted for the following information:
- The name of your app
- Your app's description
- The name of your organization
- Whether to use FVM
⚠️ - Select flutter SDK version
Variable | Description | Default | Type |
---|---|---|---|
app_name |
The name of your app | app_name |
string |
app_description |
The description of your application | A new Flutter project. |
string |
org_name |
The name of your organization | com.example |
string |
use_fvm |
Whether to use FVM | false |
boolean |
flutter_sdk_version |
Select flutter SDK version (if use_fvm is true) |
stable |
string |
This is a starting point for a new brick. A few resources to get you started if this is your first brick template: