Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributebloc_effects

SingleLiveEvent pattern implementation for BLoC and Cubit to dispatch transient UI effects.

pub.devRemove
bloc_presentation

Dispatch single-time side effects from Bloc or Cubit without polluting state.

pub.devRemove
ScoresHealth6769 (best)
Maintenance48 (best)26
Quality100 (best)91
Popularity5181 (best)
Community5280 (best)
Compatibility100100
UsageDownloads (30 days)5.2k25k (best)
Likes2093 (best)
Pub points160 / 160 (best)140 / 160
GitHub stars1135 (best)
MaintenanceLatest release2.1.0, 4 months ago (best)1.1.2+3, 8 months ago
Major versions in 12 months00
Contributors312 (best)
Publisherdarttech.devleancode.co
FitPlatformsAndroid, iOS, Web, Windows, macOS, LinuxAndroid, iOS, Web, Windows, macOS, Linux
WASM-readyYesYes
KindFlutter widgetsFlutter widgets
Code generationNoNo
Direct dependencies1 (best)2
LicenseMITAPACHE-2.0
Setup effortLowLow
JudgementStrengths
  • Seamless integration with flutter_bloc.
  • Prevents UI effects from being re-emitted on widget rebuilds or configuration changes.
  • Keeps UI side effects separate from the core bloc state
  • Includes a listener widget and works well with flutter_hooks
  • Supports nullable types for optional blocs in the widget tree
Weaknesses
  • Tied directly to the ecosystem of package:bloc.
  • Transient events are discarded if there are no active listeners.
  • Relies on stream subscriptions which require careful lifecycle handling if not using provided widgets
  • Requires using a specific mixin on your Blocs/Cubits
WarningsNoneNone
bloc_effects vs bloc_presentation: which Flutter package should you use? | pubscout