Skip to content

App which fetches data over the network and loads it as a user scrolls using Flutter and the Bloc, Rx library.

Notifications You must be signed in to change notification settings

CemTitor/infinite_list_bloc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

infinite_list_bloc

App which fetches data over the network and loads it as a user scrolls using Flutter and the bloc library.

flutter_infinite_list

Getting Started

  • Observe state changes with BlocObserver.
  • BlocProvider, Flutter widget which provides a bloc to its children.
  • BlocBuilder, Flutter widget that handles building the widget in response to new states.
  • Adding events with context.read.⚡
  • Prevent unnecessary rebuilds with Equatable.
  • Use the transformEvents method with Rx.

The application uses a feature-driven directory structure. This project structure enables us to scale the project by having self-contained features. In this example we will only have a single feature (the post feature) and it's split up into respective folders with barrel files, indicated by the asterisk (*).

About

App which fetches data over the network and loads it as a user scrolls using Flutter and the Bloc, Rx library.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages