搜索插件、代码仓与 APP 分类

GitHub 代码仓AkoWu101/flutter_starter_kit

flutter_starter_kit

一个适用于初学者的入门工具包,使用 Bloc 模式、RxDart、sqflite、Fluro 和 Dio 来构建 Flutter 项目。此工具包以应用商店应用为例进行演示。

flutter_starter_kit 项目封面
星标
804
复刻
130
最近推送(UTC)
2022年5月18日
项目状态
未归档

原始 README

以下为英文项目原文快照,最新内容请访问 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
  2. Download flutter version 1.17.3

Remark: This starter kit support Flutter version - 1.17.3. It is because Flutter may have breaking change on latest version.

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
Powered By
Ako101 GitHub avatar
GitHub 作者

Ako101 ↗

Product Owner | UX Design | Flutter | Android | Nodejs | VueJS | ReactJS | AngularJS | Unity

Wenjetso 搵著數 | PlakerLab 創玩坊Hong Kong官方网站 ↗
语言DartRubyKotlinSwiftObjective-C

分类

使用的依赖

依赖清单 20 项

所在榜单

如何选择适合项目的代码仓?

先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。

  1. 通过仓库名、作者或描述搜索,再按技术分类缩小范围。
  2. 结合星标、复刻与最近推送比较项目;星标反映社区关注,不代表质量保证。
  3. 使用前在 GitHub 核对 README、许可证与 Issues。

来源与维护

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗