PART 5. Flutter Apps 2025 — State Management
Автор: Drake Patrick Mirembe
Загружено: 2025-10-30
Просмотров: 5
Concise, practical guide to state in Flutter and common state-management patterns in 2025. Covers local state with setState, lifting state up, InheritedWidget, ChangeNotifier + Provider, Riverpod, Bloc/Cubit, streams, and simple rules for choosing the right approach. Short demos: a counter with setState, a small list with Provider, and a quick Bloc example for async loading.
Timestamps
0:00 Intro — what state means and why it matters
0:30 Local state — setState and when it’s enough
1:20 Lifting state up and callback patterns
2:10 InheritedWidget and context-based sharing
3:00 ChangeNotifier + Provider — simple app-level state
4:10 Riverpod overview — advantages and usage pattern
5:10 Bloc/Cubit — event/state separation for complex apps
6:10 Streams and async state patterns
6:50 Choosing a pattern — complexity, testability, team skill
7:30 Demo 1: counter with setState
8:30 Demo 2: list and selection with Provider
10:30 Demo 3: async load with Bloc/Cubit
12:30 Best practices and performance tips
13:10 Next steps and exercises
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: