A new brick created with the Mason CLI.
Generated by mason 🧱
# 安装mason_cli
dart pub global activate mason_cli
# 创建一个文件夹,并在该文件夹下创建一个文件mason.yaml
make dir ${your_project_name}
cd ${your_project_name}
touch mason.yaml
# 写入一些配置
bricks:
flutter_template_mason:
git:
url: "https://github.com/HAM02020/flutter_template"
path: "."
# add brick
mason get
# 基于模板生成项目
mason make flutter_template_mason --name ${name}
其中 ${name} 替换为你项目的名字
This is a starting point for a new brick. A few resources to get you started if this is your first brick template: