Flutter Provider Essential Course (English)

所在平台: Udemy

课程主页: https://www.udemy.com/course/flutter-provider-essential-course-english/

课程评论:没有评论

第一个写评论        关注课程

课程简介

Flutter Provider 核心课程:深入掌握 Flutter 状态管理 本课程专注于 Flutter 中最基础且应用最广泛的状态管理解决方案——Provider。如果您希望深入理解 Provider 并将其概念付诸实践,那么本课程是您的不二之选。 课程内容严谨,理论与实践并重。秉持“重复是学习的关键”理念,每引入新概念,都会通过构建小型应用来巩固。借助 TODO、天气应用、Firebase 认证等真实项目,我们将全面融会贯通所学知识。 **特别亮点:** * **TODO 应用 (3 种实现):** 1. `ChangeNotifierProvider` + `ChangeNotifierProxyProvider` 组合 2. `ChangeNotifierProvider` + `ProxyProvider` 组合 3. `StateNotifierProvider` * **天气应用 (3 种实现):** 1. `ChangeNotifierProvider` + `ChangeNotifierProxyProvider` 组合 2. `ChangeNotifierProvider` + `ProxyProvider` 组合 3. `StateNotifierProvider` * **Firebase 认证应用 (2 种实现):** 1. `StreamProvider` + `ChangeNotifierProvider` + `ChangeNotifierProxyProvider` 组合 2. `StreamProvider` + `StateNotifierProvider` 组合 此外,我们将深入探讨 `StateNotifier` 和 `StateNotifierProvider`,它们能使 Provider 成为更高级的状态管理工具,并有机会通过实践应用进一步掌握。 本课程是关于 Flutter Provider 最深入的学习资源,涵盖以下关键知识点: * Provider 的必要性 * 如何在 Widget 树中访问数据 * 如何使用 ChangeNotifier 的 `addListener` 监听数据变化 * `ChangeNotifierProvider` 的使用 * `read`、`watch`、`select` 扩展方法的使用 * `MultiProvider` 的便捷多 Provider 注入 * `FutureProvider` 和 `StreamProvider` 的应用 * `Consumer` 和 `Selector` 控件的使用 * Provider 的多种访问方式(匿名、命名、生成路由,全局访问) * Provider 间的通信 (`ProxyProvider`) * Provider 使用中的常见问题及解决方案 * `addPostFrameCallback` 的妙用 * 如何在 ChangeNotifier 中处理 `showDialog` 或 `Navigator.push` 等操作 * 通过实践项目学习 Provider 的多种组合用法。

课程评论(0条)

课程详情

In the Flutter Provider Essential course, you can learn in depth about Provider, the most basic and widely used among Flutter state management solutions.If you want to deepen your understanding of the Flutter Provider and put all the concepts into practice, then this course is for you.The lecture was carefully composed to ensure a balance between theory and practice.And under the belief that repetition is the most important learning method, whenever there is a new concept, we will test the concept by making a small app, and through real-world apps such as TODO, Weather, and Firebase Authentication app, the concepts will come together comprehensively.In particular, we will repeatedly practice combinations of different Providers when creating TODO, Weather, and Firebase Authentication apps.- TODO App (3 Implementations): 1. Combination of ChangeNotifierProvider, ChangeNotifierProxyProvider, 2. Combination of ChangeNotifierProvider and ProxyProvider, 3. StateNotifierProvider- Weather App (3 Implementations): 1. Combination of ChangeNotifierProvider, ChangeNotifierProxyProvider, 2. Combination of ChangeNotifierProvider and ProxyProvider, 3. StateNotifierProvider- Firebase Authentication App (2 Implementations): 1. Combination of StreamProvider , ChangeNotifierProvider, and ChangeNotifierProxyProvider, 2. Combination of StreamProvider and StateNotifierProviderIn addition, I will talk about StateNotifier and StateNotifierProvider, which allow you to use the Provider as a more advanced State Management Solution, and there will be opportunities to practice through apps, so you will have even more options.I can proudly say that this course is the most in-depth course on Flutter Provider.This is a quick look at everything covered in the course.- Why Provider is needed- How to access data in the widget tree using Provider- How to listen for data changes in the widget tree using ChangeNotifier's AddListener- How to use ChangeNotifierProvider, the most used in Provider- How to use the read, watch, and select extension methods to easily access and listen to data- MultiProvider, which allows the easy and neat injection of multiple providers into the widget tree- FutureProvider and StreamProvider, a provider used when you want to listen to continuously changing values and rebuild the widget- Consumer widget, a kind of convenience widget that makes it easy to access a specific type of Provider- Selector widget, a type of Consumer widget that enables more detailed control- Provider Access and value named constructor: anonymous route access, named route access, generated route access, global access- Provider-to-provider communication: ProxyProvider- Various errors encountered when using the Provider and how to deal with them- The addPostFrameCallback method, which is useful when used together with Provider- How to handle actions such as showDialog or Navigator dot push using ChangeNotifier's AddListener- TODO App: 3 implementations through a combination of various providers- Weather App: 3 implementations through a combination of various providers- Firebase Authentication App: 2 implementations through a combination of various providers

课程标签

0人关注该课程

主题相关的课程