Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributehydrated_bloc

Automatically persists and restores bloc and cubit states.

pub.devRemove
stash_memory

Memory storage extension for the stash API to store vaults and caches in-memory.

pub.devRemove
ScoresHealth85 (best)30
Maintenance69 (best)9
Quality97100 (best)
Popularity88 (best)43
Community8080
Compatibility100100
UsageDownloads (30 days)249k (best)22k
Likes974 (best)8
Pub points160 / 160160 / 160
GitHub stars12k (best)91
MaintenanceLatest release11.0.0, 8 months ago (best)5.2.0, 3 years ago
Major versions in 12 months10 (best)
Contributors100+ (best)8
Publisherbloclibrary.devivoleitao.dev
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies41 (best)
LicenseMITMIT
Setup effortLowLow
JudgementStrengths
  • Seamless integration with package:bloc and package:flutter_bloc
  • Platform-agnostic and performant storage layer built on Hive CE, supporting web and native platforms
  • Customizable storage directories, prefixes, and per-instance storage overrides
  • Fast in-memory performance
  • Integrates with the stash ecosystem and event listeners
  • Supports generics for typed data vaults and caches
Weaknesses
  • Requires manual implementation of toJson and fromJson for every persisted bloc or cubit
  • Relies entirely on the bloc architecture ecosystem
  • Data is lost when the app closes (in-memory only)
  • Requires learning the stash API semantics
WarningsNone
  • Repository archived
hydrated_bloc vs stash_memory: which Flutter package should you use? | pubscout