Flutter State Management: setState, BLoC, ValueNotifier, Provider
Andrea Bizzotto
@codewithandreaAbout
Tutorials about learning Flutter. Subscribe for regular videos covering all things Flutter, including state management, layouts, testing, and more. About me: I'm Andrea, and I created this channel to help you become a better Flutter developer. You can find more Flutter tutorials beyond my YouTube channel: Website: https://codewithandrea.com/ GitHub: https://github.com/bizz84 Flutter & Firebase Udemy Course (discount code included): https://nnbd.me/flutter-firebase
Latest Posts
Video Description
Full transcript here: https://codewithandrea.com/videos/2019-07-09-state-management-setstate-bloc-valuenotifier/ GitHub code for this project: https://github.com/bizz84/simple_auth_comparison_flutter Also read the highlights in this article: https://medium.com/coding-with-flutter/flutter-state-management-setstate-bloc-valuenotifier-provider-2c11022d871b In this video we compare various state management techniques, using a simple authentication flow with a loading state as an example. The following techniques are discussed: setState, BloC, RxDart, ValueNotifier, ChangeNotifier, ScopedModel. HIGHLIGHTS 00:00 - Intro 02:45 - Reference code (vanilla) 04:02 - setState 05:29 - BLoC 08:11 - RxDart + BehaviorSubject 08:56 - ValueNotifier 10:31 - ValueNotifier vs ChangeNotifier 12:20 - Summary 13:36 - Bonus: Implementing the Drawer menu Want more? Check out all my Flutter courses: 👇👇 https://codewithandrea.com/courses/ Thanks for watching!
Master Flutter with These Essentials
AI-recommended products based on this video

Amazon Basics 48 Pack AA High-Performance Alkaline Batteries, 10-Year Shelf Life, Easy to Open Value Pack The Nordic Swan Ecolabel

Turtle Beach Stealth Ultra High-Performance Wireless Gaming Controller Licensed for Xbox Series X|S, Xbox One, Windows PC & Android – LED Dashboard, Charge Dock, RGB Lighting, 30-Hr Battery, Bluetooth










