bloc_wrapped_values 2.0.2 copy "bloc_wrapped_values: ^2.0.2" to clipboard
bloc_wrapped_values: ^2.0.2 copied to clipboard

A package that provides a clean and type-safe way to handle (async) states in BLoC/Cubit patterns.

2.0.2 #

  • Added AsyncValueWrapper public const constructor

2.0.1 #

  • chore: update documentation issue

2.0.0 #

Added #

  • Added dedicated identifier for AsyncValueStatus
  • Added from json factory for AsyncValueStatus
  • Added from json factory for AsyncValueWrapper using generic factory
  • Added to json AsyncValueWrapper using parsing method
  • Added HydratedAsyncValueCubit

Breaking change #

  • Added automatic serialisation / parsing in HydratedAsyncValueCubit
  • Required valueFromJson and valueToJson implementation in HydratedAsyncValueCubit

1.1.0 #

Added #

  • ErrorValueCubit and ErrorValueWrapper

1.0.0 #

Initial version. #

  • AsyncValueCubit and AsyncValueWrapper
3
likes
160
points
63
downloads

Documentation

Documentation
API reference

Publisher

unverified uploader

Weekly Downloads

A package that provides a clean and type-safe way to handle (async) states in BLoC/Cubit patterns.

Repository (GitHub)
View/report issues

Topics

#bloc #cubit #state-management #async

License

MIT (license)

Dependencies

bloc, hydrated_bloc

More

Packages that depend on bloc_wrapped_values