/flutter-redux-starter

Starter project for a Flutter app using Redux

Primary LanguageDart

Flutter Redux Starter

We're using this approach to develop our Flutter app for Invoice Ninja.

This codebase provide a sample for basic app initialization but there are also examples of using Redux to manage CRUD operations for REST APIs and supporting switching between multiple accounts.

Setup

  • Clone/fork the repo
  • Rename .env.dart.example to .env.dart

Features

  • Supports large Redux stores by persisting parts separately
  • App state (including navigation) is persisted on form changes
  • The account email is also backed up in shared preferences
  • All state and models classes are created using built_values
  • Includes sample integration test configured with local settings

Basic Flow

Included Packages

Application Architecture

The architecture is based off these two projects: