Skip to content

juliusspencer/Flutter-BLoC-Pattern

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flutter-BLoC-Pattern

An example of the BLoC pattern.

Getting Started

This is similar to the Flutter-Redux-Pattern in functionality but is different in form. The exampleBloc contains the business logic and the exampleProvider extends from InheritedWidget and is used by wrapping the main screen where the BLoC is created. Access to the block can be seen in the exampleScreen widget where it is picked up through the context.

Note that the BLoC contains no Flutter imports.

About

An example of the flutter BLoC Pattern

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published