Skip to content
Videos
Video

Flutter State Management with Riverpod: The Essential Guide

by Andrea Bizzotto youtube.com

29 min 28.7k views

A complete guide to the Riverpod package for Flutter state management. Included: core concepts & how to use all the available providers. Written tutorial here: 👇👇 https://codewithandrea.com/videos/flutter-state-management-riverpod/ Flutter Movie App with Provider, Riverpod & flutter_bloc: 👇👇 https://github.com/bizz84/movie_app_state_management_flutter CONTENTS: 00:00 - Intro 00:58 - Why Riverpod 02:37 - Riverpod Installation 03:29 - ProviderScope 03:49 - Creating the first Provider 05:31 - StateProvider 06:54 - ProviderListener 07:52 - StateNotifier 09:18 - StateNotifierProvider 10:54 - ChangeNotifierProvider 11:31 - FutureProvider & StreamProvider 13:00 - AsyncValue 13:47 - autoDispose 14:57 - family 17:21 - Dependency overrides 18:39 - Combining Providers 20:04 - ScopedProvider 22:00 - When to use watch vs read 23:29 - Testing 24:28 - Mock and override dependencies in tests 25:50 - ProviderObserver 27:42 - Wrap Up Join my FREE email course to become a Flutter expert with the best resources, at your own pace: https://codewithandrea.com/newsletter/ Want more? Check out all my Flutter courses: 👇👇 https://codewithandrea.com/courses/ Happy coding!

Made by

Andrea Bizzotto @andreabizzotto 🇬🇧 United Kingdom

Available for hire

Andrea Bizzotto has extensive experience in mobile app development, having built complex apps for various clients and as an independent developer. He is passion...

View Andrea on Flutter Pro
Forum

Questions about this, or something to add?

Discuss on the forum

Topics Riverpod Provider State management

It's All Widgets

Apps by Andrea Bizzotto

  • Flight CO2 Calculator screenshot

    Flight CO2 Calculator

    Simple app to calculate the CO2 emissions from your flights.

    Open source

Report this · Wrote this? Claim it

Supported by