Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributevisibility_aware_state

A State for StatefulWidgets that provides visibility awareness similar to Android activity lifecycles.

pub.devRemove
yx_state

A state management library for Dart and Flutter applications.

pub.devRemove
ScoresHealth4882 (best)
Maintenance078 (best)
Quality96100 (best)
Popularity3958 (best)
Community4180 (best)
Compatibility100100
UsageDownloads (30 days)9457.6k (best)
Likes34 (best)31
Pub points150 / 160160 / 160 (best)
GitHub stars1564 (best)
MaintenanceLatest release1.0.5, 4 years ago1.0.2, 6 weeks ago (best)
Major versions in 12 months00
Contributors111 (best)
Publisherehwplus.comdev.go.yandex
FitPlatformsAndroid, iOS, Web, Windows, macOS, LinuxAll (pure Dart)
WASM-readyYesYes
KindFlutter widgetsPure Dart
Code generationNoNo
Direct dependencies0 (best)1
LicenseAPACHE-2.0MIT
Setup effortLowLow
JudgementStrengths
  • Simple API similar to Android activity lifecycle methods.
  • Tracks whether the app is in the background or foreground automatically.
  • Provides helper methods like finish() and isVisible().
  • 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
  • Limited to managing widget visibility state rather than general app state management.
  • Relies on extending a specific custom State class rather than composition or hooks.
  • Limited community and ecosystem compared to older, dominant alternatives like Bloc or Riverpod.
  • Relies on manual state class definitions and equality overrides.
WarningsNoneNone
visibility_aware_state vs yx_state: which Flutter package should you use? | pubscout