async_cubits 0.4.0
async_cubits: ^0.4.0 copied to clipboard
A set of cubits that can be used to handle async operations in a simple, consistent way.
0.4.0 #
AsyncCubitContainernow stores cubits in aList, allowing multiple instances of the same type to be registered simultaneouslyAsyncCubitContainer.invalidate<T>()now invalidates all registered cubits of typeT(previously only one per type); accepts optionalreloadandfilterparameters- Removed
AsyncCubitContainer.get<T>()andinvalidateAll(List<Type>)— useinvalidate<T>()directly
0.3.0 #
- Replaced
freezed-basedAsyncValueandMutationStatewith native Dart sealed classes — removesfreezed_annotationandbuild_runnerdependencies - Merged
FutureWithArgsCubitintoFutureCubit: concrete subclasses now define their ownload/refreshmethods callingperformLoad/performRefresh - Removed
RefreshStreamFutureCubitMixin
0.2.0 #
Add MutationCubit used to invoke async operations by some side effect (eg. form submit)
0.1.0+3 #
Fix code formatting in README file
0.1.0+2 #
Create async_cubits package