Flutter State Management: setState, StreamBuilder, Scoped Model, Redux

Описание к видео Flutter State Management: setState, StreamBuilder, Scoped Model, Redux

Full source code on GitHub: https://github.com/bizz84/multiple-co...

Sign up here for more videos: https://codewithandrea.com/

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

00:00 - Intro
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.

Want more? Check out all my Flutter courses: 👇👇
https://codewithandrea.com/courses/

Thanks for watching!

Комментарии

Информация по комментариям в разработке