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

Stopwatch application using Provider as the DI and the BLoC pattern

Simple Stopwatch using Provider and the BLoC pattern.

A simple example of using Provider with the BLoC pattern.

This example uses the Provider package for DI and the BLoC pattern for state management. The BLoC in this example follows the rules stating that all input and output from a BLoC must be via streams and sinks: no functions are allowed. See this talk from Dart Conf 2018 for more details: https://www.youtube.com/watch?v=PLHln7wHgPE

Check out the details on YouTube:

Download Stopwatch appsource code on GitHub

https://github.com/amugofjava/provider-bloc-example

Exit mobile version