Skip to content

Tryout for Flutter Bloc with Retrofit client and some other fancy words.

Notifications You must be signed in to change notification settings

markfili/retrobloc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

retrobloc

From Bloc to network and back.

Contains

  • Flutter Bloc with context.watch/select/read
  • Hydrated Bloc
  • Sealed class for Bloc states
  • Retrofit
  • JSON serialization
  • Equatable
  • Logger (a pretty one)
  • Pretty Dio Logger (pretty logger interceptor)
  • API Error handling
  • Liquid Pull to refresh
  • Dependency Injection (get_it, injectable)
  • State restoration (restorablePush, restorationScopeId)

Notes

If you want the generator to run one time and exits use

    flutter pub run build_runner build

Use the [watch] flag to watch the files' system for edits and rebuild as necessary.

    flutter packages pub run build_runner watch  

API Error handling inspired by:

Getting Started

This project is a starting point for a Flutter application.

A few resources to get you started if this is your first Flutter project:

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

About

Tryout for Flutter Bloc with Retrofit client and some other fancy words.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published