This video covers Provider in Flutter, including ChangeNotifier, ProxyProvider, FutureProvider, StreamProvider, DevTools, and common Provider mistakes.

Code

  1. Clone the starter codebase
  2. Switch to the provider-start branch
  3. Continue from there

Or just watch the video:

Shared_preference

Persistent theme with Shared_preference.