|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/flutter-riverpod-essential-course-english/
课程评论:没有评论
**Flutter Riverpod Essential Course 课程总结** 本课程深入讲解了 Flutter 中增长最快的状态管理解决方案——Riverpod。课程旨在帮助学习者全面理解 Riverpod 的概念并进行实践。 **核心内容与教学方法:** * **理论与实践结合:** 课程在理论讲解与实际操作之间取得了良好平衡。 * **重复练习:** 针对每个新概念,都会构建小型应用进行测试,随后通过 TODO、天气和 Firebase 身份验证等实战项目整合所学知识。 * **多种状态管理方式:** 在 TODO、天气和 Firebase 身份验证应用中,反复练习使用不同的状态形态。 **课程涵盖的 Riverpod 主题:** * **数据类管理:** 使用 Dart Data Class Generator 和 Freezed 管理 Dart 数据类。 * **所有 Provider 类型:** Provider, StateProvider, FutureProvider, StreamProvider, StateNotifierProvider, ChangeNotifierProvider, NotifierProvider, AsyncNotifierProvider, StreamNotifierProvider。 * **所有 Provider 修饰符:** no modifier, autoDispose, family, autoDispose + family。 * **AsyncValue 和 AsyncValueX 扩展:** 学习 AsyncValue 提供的各种属性和方法。 * **Provider 生命周期:** 了解 Provider 状态缓存自定义等生命周期方法。 * **Provider 作用域:** 探讨各种 Provider 作用域的使用场景,包括性能优化。 * **Riverpod Lint:** 学习如何使用 Riverpod Lint 包来避免常见错误并简化 Riverpod 相关任务。 * **分页与无限滚动:** 实现带 Riverpod 的分页和无限滚动。 * **Riverpod + GoRouter:** 提供 Riverpod 与 GoRouter 的使用示例。 **实战项目:** * **TODO 应用(实现 5 次):** 1. 同步 TODO 应用 2. 使用枚举(enum)为基础的异步 TODO 应用 3. 使用密封类(sealed class)为基础的异步 TODO 应用 4. 使用 AsyncValue 为状态的异步 TODO 应用 5. 使用 AsyncValue + Hive(数据持久化)的 TODO 应用 * **天气应用(实现 4 次):** 1. 使用 AsyncValue 为状态的天气应用 2. 使用密封类(sealed class)为基础的天气应用 3. 使用枚举(enum)为基础的天气应用 4. 使用 AsyncValue + Geolocator 的天气应用 * **Firebase 身份验证应用:** 涵盖注册、登录、登出、邮箱验证、忘记密码、更改密码等功能。 这门课程为希望深入掌握 Flutter Riverpod 的开发者提供了全面而实用的学习路径。
In the Flutter Riverpod Essential course, you'll get a deep dive into Riverpod, which is currently the fastest growing Flutter state management solution.If you want a deep understanding of Flutter Riverpod and want to practice all the concepts, this is the course for you.When creating the course, I took care to ensure that there is a balance between theory and practice.We believe that repetition is the most important way to learn, so for each new concept, we'll build a small app to test the concept, and then we'll work through hands-on apps like the TODO, Weather, and Firebase Authentication apps to bring the concepts together. In particular, we'll practice repeatedly using different state forms when building the TODO, Weather, and Firebase Authentication apps.Let's take a quick look at everything we've covered in this course.- Managing Dart Data Classes based on Dart Data Class Generator and Freezed- All Providers: Provider, StateProvider, FutureProvider, StreamProvider, StateNotifierProvider, ChangeNotifierProvider, NotifierProvider, AsyncNotifierProvider, StreamNotifierProvider- All Provider modifiers: no modifier, autoDispose, family, autoDispose + family- Examples of using the various properties and methods provided by the AsyncValue and AsyncValueX extension- Provider Lifecycle: Provider State Caching Customization using the Provider lifecycle method, etc.- Various Provider Scoping use cases - Performance Optimization, etc.- Learn, with examples, about Riverpod Lint, a package designed to help developers avoid common mistakes and streamline repetitive tasks related to Riverpod.- Implementing numbered pagination and infinite scroll with Riverpod- Riverpod + GoRouter Usage Example- TODO App (implemented 5 times): 1. Sync Todo App, 2. Async Todo App utilizing enum-based state, 3. Async Todo App utilizing sealed class-based state, 4. Async Todo App utilizing AsyncValue as state, 5. AsyncValue + Hive (data persistence).Weather App (implemented 4 times): 1. utilizing AsyncValue as state, 2. utilizing sealed class-based state, 3. utilizing enum-based state, 4. AsyncValue + Geolocator- Firebase Authentication App: Signup, Signin, Signout, VerifyEmail, ForgetPassword, ChangePassword