Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributecontext_ref

Provide and retrieve values scoped to a BuildContext with automatic disposal.

pub.devRemove
riverpod

A reactive caching and data-binding framework. Riverpod makes working with asynchronous code a breeze.

pub.devRemove
ScoresHealth5899 (best)
Maintenance1896 (best)
Quality96100 (best)
Popularity5099 (best)
Community58100 (best)
Compatibility100100
UsageDownloads (30 days)9k4.6M (best)
Likes134k (best)
Pub points150 / 160160 / 160 (best)
GitHub stars387.4k (best)
MaintenanceLatest release3.2.3, a year ago3.5.0, 2 weeks ago (best)
Major versions in 12 months00
Contributors4100+ (best)
Publishersonerik.devdash-overflow.net
FitPlatformsAndroid, iOS, Web, Windows, macOS, LinuxAll (pure Dart)
WASM-readyYesYes
KindFlutter widgetsPure Dart
Code generationNoNo
Direct dependencies2 (best)9
LicenseMITMIT
Setup effortLow—
JudgementStrengths
  • Automatic disposal of bound objects tied to the widget lifecycle
  • Minimal boilerplate compared to traditional InheritedWidget setup
  • Supports lazy initialization and pre-existing value binding
No summary yet
Weaknesses
  • Requires a root widget wrapper (`ContextRef.root`)
  • Tightly coupled to the widget tree via BuildContext
No summary yet
WarningsNoneNone
context_ref vs riverpod: which Flutter package should you use? | pubscout