Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributesecure_shared_preferences

Encrypt shared preferences on Android and UserDefaults on iOS using AES-CBC-128.

pub.devRemove
shared_preferences_windows

Windows platform implementation for shared_preferences

pub.devRemove
ScoresHealth4150 (best)
Maintenance051 (best)
Quality9196 (best)
Popularity2279 (best)
Community4180 (best)
Compatibility84 (best)67
UsageDownloads (30 days)4238.7M (best)
Likes2534 (best)
Pub points140 / 160150 / 160 (best)
GitHub stars55.3k (best)
MaintenanceLatest release0.0.4, 5 years ago2.4.1, 2 years ago (best)
Major versions in 12 months00
Contributors1100+ (best)
Publisherflutter.pingtobuild.comflutter.dev
FitPlatformsAndroid, iOS, macOSWindows
WASM-readyNoNo
KindFlutter widgetsPlugin (native code)
Code generationNoNo
Direct dependencies55
LicenseAPACHE-2.0BSD-3-CLAUSE
Setup effortLowLow
JudgementStrengths
  • Encrypts both keys and values using AES-CBC-128
  • Supports multiple data types including maps and lists
  • Allows bypassing encryption per entry via a boolean parameter
  • Automatically included when using the endorsed shared_preferences package.
  • Native Windows implementation for persistent key-value data.
Weaknesses
  • Relies on older or mixed underlying dependencies like package_info
  • Limited documentation beyond basic read/write examples
  • Limited to simple key-value data types.
  • Not suitable for secure storage needs.
WarningsNone
  • Quiet but busy
  • Native setup
secure_shared_preferences vs shared_preferences_windows: which Flutter package should you use? | pubscout