Giter Site home page Giter Site logo

aetesyindan / flutter_starter_kit Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kingwu/flutter_starter_kit

0.0 0.0 0.0 131 KB

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

License: Apache License 2.0

Ruby 3.13% Objective-C 0.05% Kotlin 2.32% Dart 93.93% Swift 0.57%

flutter_starter_kit's Introduction

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

flutter_starter_kit's People

Contributors

kingwu avatar mono0926 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.