Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 489 Bytes

README.md

File metadata and controls

14 lines (10 loc) · 489 Bytes

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.