flutter_starter_kit

A starter kit for beginner learns with Bloc pattern, RxDart, sqflite, Fluro and Dio to architect a flutter project. This starter kit build an App Store app as a example

Github星跟蹤圖

Flutter Starter Kit - App Store Example

A starter kit for beginner learns with Bloc pattern, RxDart, sqflite, Fluro and Dio to architect a flutter project. This starter kit build an App Store app as a example

App Store Flutter Demo

Feature

  • Bloc Pattern
  • Navigate pages by Fluro
  • Local cache by using sqflite
  • Restful api call by using Dio
  • Database debugging (Android Only) by using flutter_stetho
  • Loading Network Image
  • Localization by using gen_lang
    and lang_table
  • Environment Variable & Project Config (Like App Name, Bundle Id) based on different project flavour (Development, Staging & Production)
  • Build pojo by using json_serializable
  • Update each list item instead of re-rendering whole list view when data set has changed on a list item
  • Hero animation
  • Show empty View when the list view is empty

Install

  1. Follow flutter official setup guide to set up flutter environment

Run Config

  1. Click 'Edit Configuration'
  2. Create different run configs for flavours

Edit Config

Config

Flavour

Useful Command

Run flutter_starter_kit

For development,

flutter run --flavor development -t lib/config/main_development.dart

For staging,

flutter run --flavor staging -t lib/config/main_staging.dart

For production,

flutter run --flavor production -t lib/config/main_production.dart

Generate json serialize and deserialize functions

flutter packages pub run build_runner build --delete-conflicting-outputs

lang_table

flutter packages pub run lang_table:generate --platform=airTable --input=https://api.airtable.com/v0/appZmh0WMg3y6APAg/example --api-key={YOUR API KEY} --target=Flutter

gen_lang

flutter packages pub run gen_lang:generate

Known Issues

Migration Guide

  • If you wanna to use this project as your project's base, please read
    migration guide

Reference

From other platform?

Learn Widget & Layout

Bloc Pattern

Json Serialization

Localization

Flavouring

Advance Topic

主要指標

概覽
名稱與所有者KingWu/flutter_starter_kit
主編程語言Dart
編程語言Kotlin (語言數: 5)
平台
許可證Apache License 2.0
所有者活动
創建於2019-01-11 10:19:21
推送於2022-05-18 06:13:38
最后一次提交2022-05-18 14:13:38
發布數5
最新版本名稱1.3.0 (發布於 2019-02-12 22:11:44)
第一版名稱1.0.0 (發布於 2019-01-13 11:44:44)
用户参与
星數801
關注者數26
派生數128
提交數36
已啟用問題?
問題數18
打開的問題數0
拉請求數4
打開的拉請求數1
關閉的拉請求數0
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?