async_cubits 0.4.0 copy "async_cubits: ^0.4.0" to clipboard
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 #

  • AsyncCubitContainer now stores cubits in a List, allowing multiple instances of the same type to be registered simultaneously
  • AsyncCubitContainer.invalidate<T>() now invalidates all registered cubits of type T (previously only one per type); accepts optional reload and filter parameters
  • Removed AsyncCubitContainer.get<T>() and invalidateAll(List<Type>) — use invalidate<T>() directly

0.3.0 #

  • Replaced freezed-based AsyncValue and MutationState with native Dart sealed classes — removes freezed_annotation and build_runner dependencies
  • Merged FutureWithArgsCubit into FutureCubit: concrete subclasses now define their own load/refresh methods calling performLoad/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

2
likes
150
points
170
downloads

Publisher

unverified uploader

Weekly Downloads

A set of cubits that can be used to handle async operations in a simple, consistent way.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_bloc, meta

More

Packages that depend on async_cubits