Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeflutter_rearch

Declarative state management and dependency injection using capsules and side effects

pub.devRemove
fsm2

A Dart library for building UML‑style finite state machines with nested states and guard conditions.

pub.devRemove
ScoresHealth6272 (best)
Maintenance4087 (best)
Quality100 (best)91
Popularity2031 (best)
Community74 (best)58
Compatibility100 (best)85
UsageDownloads (30 days)641871 (best)
Likes1218 (best)
Pub points160 / 160 (best)140 / 160
GitHub stars148 (best)53
MaintenanceLatest release1.7.3, 5 months ago3.4.1, 4 weeks ago (best)
Major versions in 12 months00
Contributors7 (best)4
Publishergsconrad.comonepub.dev
FitPlatformsAndroid, iOS, Web, Windows, macOS, LinuxAll (pure Dart)
WASM-readyYesNo
KindFlutter widgetsPure Dart
Code generationNoNo
Direct dependencies2 (best)10
LicenseMITBSD-2-CLAUSE
Setup effortLowLow
JudgementStrengths
  • Enables feature composition through side effects
  • Automatic cleanup of idempotent capsules
  • High testability with pure functions
  • Supports nested and concurrent states
  • Guard conditions and side‑effects are built‑in
  • No code generation required
Weaknesses
  • Requires learning a brand new capsule and side effect mental model
  • Smaller ecosystem and community compared to established alternatives like Provider, Riverpod, or Bloc
  • Limited to state‑machine logic, no UI components
  • Documentation primarily on external site
WarningsNoneNone
flutter_rearch vs fsm2: which Flutter package should you use? | pubscout