Site icon Flutter Packages | Pub dev Packages – Flutter Mobile App World

Demonstrates BLoC pattern in Flutter

bloc_test

A real-world example of using the BLoC pattern in Flutter. This app features a searchable list of users and demonstrates an elegant way to keep the UI in sync with the model.

Features

The app implements the following features:

BLoC

Proper separation of concerns by using the Business Logic Component pattern. Heavily relies on streams to notify the UI of changes in the business layer. No 3rd-party package dependencies, just plain Flutter.

Acknowledgments

Based on the great work of Didier Boelens. If you need a proper introduction into BLoC, please do read his article about Reactive Programming – Streams – BLoC.

Download Demonstrates BLoC pattern in Flutter Source Code on GitHub

https://github.com/firstfloorsoftware/bloc_test

Exit mobile version