Foundations Course - November 2022 Update
This update brings the course up to date with Riverpod 2.1 and adds some other small code improvements.
CHANGELOG
Lesson 04.03:
- Updated starter project, now using Riverpod 2.1
- Updated
main.dartto use new Flutter 3.3 error handling code based onPlatformDispatcher(see Handling errors in Flutter)
Lesson 05.08:
- Updated to mention the new
AsyncNotifierclass as a replacement forStateNotifier(added in Riverpod 2.0) AsyncNotifierwill be covered in the upcoming section 13
Lesson 08.11:
- Updated to show some new Riverpod 2.0 APIs (such as
AsyncLoading<int>().copyWithPrevious(state))
Lesson 08.25:
- Updated notes to mention that
StreamProvider.overrideWithValuehas been removed. - Updated tests to show how to use
overrideWithusing streams rather thanAsyncValue
Lesson 10.08:
- Updated to show how to use the
ErrorLoggerclass together withPlatformDispatcherinmain.dart
Lesson 11.02:
- Reviews feature: updated starter project using a simplified implementation
- removed
PurchaseandFakePurchasesRepositoryclasses as the corresponding functionality is now implemented insideFakeOrdersRepositoryandmatchingUserOrdersProvider
Lesson 11.10:
- Recorded entire lesson again, using the new
matchingUserOrdersProvider