Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeprovider

A lightweight wrapper around InheritedWidget for state management

pub.devRemove
yx_state

A state management library for Dart and Flutter applications.

pub.devRemove
ScoresHealth8182 (best)
Maintenance4278 (best)
Quality96100 (best)
Popularity97 (best)58
Community100 (best)80
Compatibility100100
UsageDownloads (30 days)1.2M (best)7.6k
Likes11k (best)31
Pub points150 / 160160 / 160 (best)
GitHub stars5.3k (best)64
MaintenanceLatest release6.1.5+1, a year ago1.0.2, 6 weeks ago (best)
Major versions in 12 months00
Contributors90 (best)11
Publisherdash-overflow.netdev.go.yandex
FitPlatformsAndroid, iOS, Web, Windows, macOS, LinuxAll (pure Dart)
WASM-readyYesYes
KindFlutter widgetsPure Dart
Code generationNoNo
Direct dependencies21 (best)
LicenseMITMIT
Setup effortLowLow
JudgementStrengths
  • Simple API, minimal boilerplate
  • Built‑in devtools integration
  • Lazy loading and efficient rebuilds
  • Built-in error handling and error reporting mechanisms.
  • State observers allow easy monitoring for debugging and analytics.
  • Global overrides for customizing state emission behavior.
Weaknesses
  • No built‑in code generation
  • Limited to InheritedWidget under the hood, may feel less modern than Riverpod
  • Can become verbose for many providers
  • Limited community and ecosystem compared to older, dominant alternatives like Bloc or Riverpod.
  • Relies on manual state class definitions and equality overrides.
WarningsNoneNone
provider vs yx_state: which Flutter package should you use? | pubscout