Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributereplay_bloc

Adds automatic undo and redo support to bloc and cubit states.

pub.devRemove
side_effect_cubit

Adds a separate stream for one-time events in Bloc/Cubit

pub.devRemove
ScoresHealth80 (best)51
Maintenance53 (best)17
Quality100 (best)97
Popularity85 (best)28
Community80 (best)41
Compatibility100100
UsageDownloads (30 days)27k (best)2.7k
Likes190 (best)4
Pub points160 / 160160 / 160
GitHub stars12k (best)2
MaintenanceLatest release0.3.0, 2 years ago2.0.0, 11 months ago (best)
Major versions in 12 months0 (best)1
Contributors100+ (best)1
Publisherbloclibrary.devsontieu.dev
FitPlatformsAll (pure Dart)Android, iOS, Web, Windows, macOS, Linux
WASM-readyYesYes
KindPure DartFlutter widgets
Code generationNoNo
Direct dependencies1 (best)2
LicenseMITMIT
Setup effortLowLow
JudgementStrengths
  • Seamless integration with package:bloc
  • Provides both dedicated classes and mixins for use with other bloc variants like HydratedBloc
  • decouples side effects from state
  • prevents re-triggering on rebuilds
  • easy to test with side_effect_cubit_test
Weaknesses
  • Limited strictly to the bloc ecosystem
  • adds extra mixin or base class boilerplate
  • requires listening widgets
Warnings
  • Quiet but busy
None
replay_bloc vs side_effect_cubit: which Flutter package should you use? | pubscout