bravekingzhang / flutter_template_mason

一个flutter高效开发的模板

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

flutter_template_mason

Powered by Mason

A new brick created with the Mason CLI.

Feature

支持了多语言配置

修改配置文件,保存将自动生成多语言,维护多套语音成本非常低。

支持设置主题

基于hydrated_bloc实现的动态主题管理,自动实现设置好的主题缓存,底层hive实现,比pref等性能更好。

flutter_bloc全局数据管理

一个bloc实现的简单计数器的示例,完全按照官方标准来实施。极致的实现页面和逻辑隔离,支持灵活的单元测试,组件化测试。

fontawesome支持,无限免费精美icon随便使用

告别flutter自带icon不全的困扰。想要的icon这里可以搜索,https://fontawesome.com/icons

能搜到就可以使用。

Getting Started 🚀

# 安装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/bravekingzhang/flutter_template_mason"
      path: "."

# add brick
mason get

# 基于模板生成项目
mason make flutter_template_mason --project_name ${your_project_name}

其中 ${your_project_name} 替换为你项目的名字

About

一个flutter高效开发的模板

License:Other


Languages

Language:C++ 34.9%Language:CMake 28.9%Language:Dart 24.3%Language:Ruby 4.1%Language:HTML 3.1%Language:C 2.2%Language:Swift 2.0%Language:Kotlin 0.2%Language:Shell 0.2%Language:Objective-C 0.1%