hive_cubit 0.1.1
hive_cubit: ^0.1.1 copied to clipboard
A lightweight HiveCubit that auto-persists Cubit state to a Hive box with zero boilerplate.
0.0.1 #
- Initial release.
HiveCubit<T>base class with automatic load-on-create and persist-on-update.
0.1.0 #
- Widened
blocversion constraint to support 8.x and 9.x. - Fixed a race condition where
updateStatecould silently skip persisting if called before the underlying box finished opening. - Added
HiveCubitExceptionfor clearer error messages. - Documented that closing a
HiveCubitdoes not close its Hive box.
0.1.1 #
- Rewrote the example with step-by-step console output explaining
the
readypattern. - Updated README examples and notes to match the async
updateStatesignature,HiveCubitException, and box-close behavior from 0.1.0.