Загрузка...

Flutter State Management: setState, BLoC, ValueNotifier, Provider

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!

Видео Flutter State Management: setState, BLoC, ValueNotifier, Provider канала Andrea Bizzotto
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять