bloc_manager 1.0.0
bloc_manager: ^1.0.0 copied to clipboard
A Flutter BLoC management package by Abubakar Issa. Provides BaseState sealed hierarchy, BlocManager widget with auto loading/error/success handling, and CacheableBlocMixin, PaginationBlocMixin, Refre [...]
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.1.0 – 2026-02-19 #
Added #
BaseState<T>sealed class hierarchy (InitialState,LoadingState,SuccessState,ErrorState,LoadedState,EmptyState, and async variants).BaseCubit<S>andBaseBloc<E,S>withemitLoading(),emitSuccess(),emitError(), andexecuteAsync().BlocManager<B,S>widget wrappingBlocConsumerwith automatic loading overlay, error snackbar, and success snackbar.CacheableBlocMixin– in-memory state caching with TTL support.PaginationBlocMixin– page-based data loading with cursor tracking.RefreshableBlocMixin– pull-to-refresh with cooldown and optional auto-refresh timer.BlocManagerLogger– colour-coded ANSI console logging.- Example counter app under
example/.