A demo for state management of Flutter application using Provider and StreamBuilder.
There are 3 tabs in the demo:
- Tab1: Using ChangeNotifierProvider to notify value to widgets.
- Tab2: Show issue of ChangeNotifierProvider when using multi-value
- Tab3: Solve Tab2's problem by using StreamBuilder.
Please refer to my post on Medium to get explain more details