bloc_effects
Cubit and Bloc abstractions and Flutter Widget that make it easy to add UI Effects to the BLoC state management.
2.1.0
4.3K downloads/mo
#4053 most downloaded on pub.dev
DartAndrik/bloc_effects
What this package is like to depend on
Last release 1 months ago
12 Jul 2026
Ships fairly regularly
a new release about every 7 months
Nearly every release is documented
notes for 12 of 12 stable releases
1 version withdrawn
withdrawn after publishing
4 years old
14 releases · first in 2022
2 releases in the last 12 months
see the full history below
Release timeline
14 releases · Jul 2022 to Jul 2026Releases
latest 14-
2.1.012 Jul 2026Release notes
Open source →- Thanks to TheManuz for proposing source-aware effect observation and
contributing the initial implementations of
onBlocEffectandBlocEffectConsumer. - Added the source-aware
BlocWithEffectsObserver.onBlocEffectcallback while preserving the existingonEffectcallback. - Added
BlocEffectConsumer. - Fixed context-provided effectors not updating when
BlocProviderchanges. - Fixed effects closing before in-flight Bloc handlers complete.
- Thanks to TheManuz for proposing source-aware effect observation and
contributing the initial implementations of
-
2.0.105 Oct 2025Release notes
Open source →- base_effector as a part of effector_mixin
- quality of life(thanks to klaas-videc): added variables
contextandeffectto [EffectWidgetListener] typedef
-
2.0.019 Jan 2025 -
1.0.514 Jan 2025 withdrawn -
1.0.426 Feb 2024 -
1.0.320 Jul 2023 -
1.0.108 Jun 2023 -
1.0.008 Jun 2023Release notes
Open source →-
- Renamed useEffect to emitEffect
-
updated flutter_bloc to 8.1.2
-
update workflow
Co-authored-by: Andrii Masalyga [email protected]
Release notes
Open source →- Breaking changes: the [Effector] mixin renamed to [Effects] mixin and it becomes public and alternative way use effects in blocs and cubits to extends them from [BlocWithEffects] or [CubitWithEffects] classes.
- Breaking changes: separated Bloc state from Effects, removed from [BlocEffectListener], use state properties or snapshot as a part of Effect implementation.
- [flutter_bloc] updated to 8.1.3
- bump [sdk] high version to 4.0.0
-
-
0.3.018 Mar 2023Release notes
Open source →- Breaking changes: the [useEffect] method had the same prefix name as hooks and was renamed to [emitEffect].
- [flutter_bloc] updated to 8.1.2
-
0.2.116 Aug 2022 -
0.2.017 Jul 2022Release notes
Open source →- Added [BlocWithEffectsObserver] with [onEffect] callback
- [useEffect] throws [StateError] if bloc is closed
-
0.1.114 Jul 2022 -
0.1.014 Jul 2022 -
0.1.0-dev.113 Jul 2022 pre-release