Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeflutterlifecyclehooks

Easily add application lifecycle state hooks using mixins or widgets.

pub.devRemove
replay_bloc

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

pub.devRemove
ScoresHealth4980 (best)
Maintenance253 (best)
Quality96100 (best)
Popularity3985 (best)
Community4180 (best)
Compatibility100100
UsageDownloads (30 days)77927k (best)
Likes52190 (best)
Pub points150 / 160160 / 160 (best)
GitHub stars1512k (best)
MaintenanceLatest release5.0.0, 2 years ago0.3.0, 2 years ago (best)
Major versions in 12 months00
Contributors1100+ (best)
Publisherptsakoulis.combloclibrary.dev
FitPlatformsAndroid, iOS, Web, Windows, macOS, LinuxAll (pure Dart)
WASM-readyYesYes
KindFlutter widgetsPure Dart
Code generationNoNo
Direct dependencies0 (best)1
LicenseMITMIT
Setup effortLowLow
JudgementStrengths
  • Simplifies working with AppLifecycleListener via mixins and widgets.
  • Provides an onContextReady method as a replacement for afterFirstRender.
  • Cross-platform support including Android, iOS, Web, Windows, macOS, and Linux.
  • Seamless integration with package:bloc
  • Provides both dedicated classes and mixins for use with other bloc variants like HydratedBloc
Weaknesses
  • Limited to handling lifecycle hooks and context readiness.
  • Web support for certain hooks was only added recently.
  • Limited strictly to the bloc ecosystem
WarningsNone
  • Quiet but busy
flutterlifecyclehooks vs replay_bloc: which Flutter package should you use? | pubscout