Flutter State Management: setState, StreamBuilder, Scoped Model, Redux
by Andrea Bizzotto youtu.be
29 min 33.2k views
Full source code on GitHub: https://github.com/bizz84/multiple-counters-flutter Sign up here for more videos: https://codingwithflutter.com/ Flutter & Firebase Udemy Course (with discount code): https://www.udemy.com/flutter-firebase-build-a-complete-app-for-ios-android/?couponCode=DART15 In this video I compare the various state management techniques that are common in Flutter. Highlights: - Learn about setState, StreamBuilder, Scoped Model and Redux, and their differences. - Write code to interact with Firebase Realtime Database - Use generics to build reusable classes 02:05 - Firebase Realtime Database integration 08:40 - Common widgets for the app 11:35 - setState 15:26 - StreamBuilder 17:57 - Scoped Model 21:19 - Redux 27:14 - Summary Notes: - I'm using the iOS simulator, but you can open the Android emulator and run the same code. - To run the code on the demo, follow the instructions on the project README file to setup your own Firebase Database instance. - UPDATE 2018-07-12: I have updated the source code to support Cloud Firestore. If you need any help, just ask in the comments. I'll be happy to help. Feedback and suggestions on new tutorials are very welcome! This code was written with Flutter Beta 0.4.4, and is tested to work with Dart 2. Thanks for watching!
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 State management Firebase
Apps by Andrea Bizzotto
More like this
- Article 7 min read
Importance of Flutter State Management
by Eng Mouaz M AlShahmeh , on Flutter ProEng Mouaz M AlShahmeh @mouaz_m_shahmeh 🇸🇾 SyriaAvailable for hire
Software Engineer & Developer, Tadawl real-estate Flutter App General Director Developer, TQDR Pay system Funder.
View Eng on Flutter ProWhat is Flutter State Management?
Read on medium.com
Video 1 minThe best state management in Flutter is revealed
by
shivam srivastava
, on Flutter Pro
shivam srivastava
@theshivamlko 🇮🇳 India
Mobile Solution Architect, Experience in Android, Flutter, Dart Web, GoLang, Founder of Navoki.com, Udacity Android Nanodegree, Entrepreneur, Instructor Featur...
View shivam on Flutter ProRevealed Best State Management package in #flutterdev for #beginners Pick any package, u want to use * Practice on multiple apps * Learn maintaining state across app * Later u can switch to other pack...
Watch on YouTube
Video 9 minFlutter State Management Made easy- Everything you need to Know about Flutter State Management.
by
Radhika Goswami
, on Flutter Pro
Radhika Goswami
@radhikagoswami 🇮🇳 India
Available for hire
I am a 16-year girl who always gets amazed by seeing APPs but I always heard that Java is kinda hard to learn, it's not for me but then I suddenly came across t...
View Radhika on Flutter ProI have created this video with the intention to explain state management in an easy way, and I have explained what is State, the Difference between ephemeral state and app state, and what is state man...
Watch on YouTube
Article 20 min readscoped_model vs BloC_pattern vs states_rebuilder
by MELLATI Meftah
In Flutter, state management techniques differ in: How, Where and when to call setState. This article answers these How-Where-When…
Read on medium.com