Skip to content

better-dart/flutter-template

Repository files navigation

flutter-template

  • boilerplate, dart/flutter project starter with GetX.
  • dart/flutter 项目目录生成工具/脚手架.
  • 基于 cookiecutter 实现.

Feature:

  • app repo:
  • lib repo:

Intro:

User Case:

Quick Start:

Install:

# Mac OS X 安装 cookiecutter:
brew install cookiecutter

# Debian/Ubuntu:
sudo apt-get install cookiecutter

Best Practice:

1. Mono-Repo + Single-App

cd your-workspace/

# 在当前目录下, 创建 mono repo 项目根目录
cookiecutter https://github.com/better-dart/cookiecutter-dart.git --directory="mono-repo"

2. create library repo:

  • library-repo
cd your-workspace/

# 在当前目录下, 创建mono repo 项目根目录:
cookiecutter https://github.com/better-dart/cookiecutter-dart.git --directory="library-repo"

Generate Project Folder Structure:

  • Mono Repo:

  • 目录结构简略说明: 对整体目录的 quick look.

-> % tree . -L 3
  • 目录结构详细说明:
-> % tree . -L 6
  • single app:

调用链路说明:

User Manual:

Reference:

Contributors: