Flutter State Management: Going from setState to Freezed & StateNotifier with Provider
by Andrea Bizzotto youtube.com
23 min 16.9k views
Mixing UI and logic inside Flutter widgets is bad. Here's how to refactor a simple app for better separation of concerns, immutability, and type safety using Freezed & State Notifier. Written tutorial here: 👇👇 https://codewithandrea.com/videos/flutter-state-management-setstate-freezed-state-notifier-provider/ As a bonus, here's a movie app built to compare Provider, flutter_bloc and Riverpod: https://github.com/bizz84/movie_app_state_management_flutter CONTENTS: 00:00 - Intro 02:03 - Example Starter Project: Create Profile Page with setState 05:59 - ChangeNotifier implementation and its drawbacks 12:07 - Freezed package 15:47 - StateNotifier 16:55 - Using Freezed + StateNotifier + Provider 20:24 - Wrap Up 21:53 - Movie app on GitHub 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
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 ProTopics Riverpod Provider State management
Apps by Andrea Bizzotto
More like this
Video 29 minFlutter State Management with Riverpod: The Essential Guide
by
Andrea Bizzotto
, on Flutter Pro
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 ProA 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/f...
Watch on YouTube- Video 2 hr 5 min
April Flutter Meetup - State Management
by GDG Montreal
GDG Montreal - Flutter organized a meetup in Montreal. https://gdg.community.dev/events/details/google-gdg-montreal-presents-april-flutter-meetup-in-person-1/ Ali gave a talk about State Management. S...
Watch on YouTube
Video 33 minFlutter Riverpod State Management
by HeyFlutter․com
Why should you NOT use Flutter Provider anymore?! Learn why to use Flutter Riverpod as a State Management solution instead for new Flutter projects. We will dive deep into Riverpod together with Remi...
Watch on YouTube
Video 42 min2024 FlutterMTL May Meetup Architecture with Riverpod
by GDG Montreal
Flutter Montréal organized a meetup in Montréal. (https://fluttermtl.dev/) Tanmay Soni talked about architecture with Riverpod. Slide: https://speakerdeck.com/gdgmontreal/flutter-with-riverpod-and-cod...
Watch on YouTube