Загрузка...

Flutter Provider: The Essential Guide

This tutorial shows how to refactor the default Flutter counter app with Provider, including in-depth explanations about ChangeNotifier, ChangeNotifierProvider, Provider.of, Consumer and ValueNotifier.

HIGHLIGHTS

00:00 - Intro
00:46 - Overview of the counter app
01:47 - Propagating state across widgets (lifting state up vs Provider)
03:48 - Refactoring the counter app
04:50 - Creating a counter class with ChangeNotifier
06:05 - Using ChangeNotifierProvider
07:10 - Using Provider.of
08:32 - Registering widgets as listeners
10:07 - The Consumer widget
11:43 - Quick Recap
13:20 - Using ValueNotifier
15:37 - ValueNotifier under the hood

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!

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