Skip to content

tausiq/flutter_plate

Repository files navigation

Flutter Plate - A Starter Kit for Flutter

A starter kit for beginner learns with Bloc pattern, RxDart, sqflite, Fluro and Dio to architect a flutter project. This starter kit builds an App Store, Counter page, Timer page, Firebase Todo, Infinite list and many more as 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 Easy Localization
  • Environment Variable & Project Config (Like App Name, Bundle Id) based on different project flavour (Development, Early, 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

Generate json serialize and deserialize functions

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

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

Influenced by: https://github.com/KingWu/flutter_starter_kit

Commands

Android release: flutter build apk -t lib/config/main_production.dart --target-platform android-arm,android-arm64,android-x64 --split-per-abi --flavor production --release iOS release: flutter build ios -t lib/config/main_production.dart

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages