bloc_event_status 2.0.0
bloc_event_status: ^2.0.0 copied to clipboard
Track the status of events in a bloc without updating the state.
2.0.0 #
Breaking Changes #
- Removed
flutter_bloc,flutter, andnesteddependencies. The package is now pure Dart and depends onblocdirectly. - Removed all custom Flutter widgets (
BlocEventStatusBuilder,BlocEventStatusListener, etc.) and the stream-based event status delivery. Use standardflutter_blocwidgets (BlocListener,BlocBuilder,BlocSelector) instead. - Removed
BlocEventStatusContainerand associated mixins. Event statuses are now stored as anEventStatusesfield on the BLoC state.
Added #
EventStatuses<TEvent, TStatus>— immutable,Equatablecontainer that tracks event statuses by type.EventStatusesMixin<TEvent, TStatus>— convenience mixin for direct state-level access tostatusOf,eventOf,eventStatusOf, andlastEventStatus.EventStatusUpdate<TEvent, TStatus>— record typedef returned by query methods.BlocEventStatusannotation andblocEventStatusconstant for use with thebloc_event_status_generatorcode generator.
1.1.1 – 2025-07-06 #
Changed #
- Widened
flutter_blocdependency to support both 8.x and 9.x:flutter_bloc: ">=8.0.0 <10.0.0"
1.0.0 #
- Initial release of
bloc_event_statuspackage.