Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributepref

Create Preference Screens easily with advanced features and sub-pages.

pub.devRemove
secure_shared_preferences

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

pub.devRemove
ScoresHealth75 (best)41
Maintenance66 (best)0
Quality97 (best)91
Popularity43 (best)22
Community80 (best)41
Compatibility100 (best)84
UsageDownloads (30 days)2.3k (best)423
Likes44 (best)25
Pub points160 / 160 (best)140 / 160
GitHub stars17 (best)5
MaintenanceLatest release3.0.0, 2 months ago (best)0.0.4, 5 years ago
Major versions in 12 months10 (best)
Contributors11 (best)1
Publishernfet.netflutter.pingtobuild.com
FitPlatformsAndroid, iOS, Web, Windows, macOS, LinuxAndroid, iOS, macOS
WASM-readyYesNo
KindFlutter widgetsFlutter widgets
Code generationNoNo
Direct dependencies3 (best)5
LicenseMITAPACHE-2.0
Setup effortLowLow
JudgementStrengths
  • Ready-made preference widgets (PrefDropdown, PrefRadio, PrefText, etc.)
  • Built-in support for default values and stream-based value changes
  • Easy initialization with PrefServiceShared
  • 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
Weaknesses
  • Limited to key-value preference storage use cases
  • Not suitable for complex database queries
  • Relies on older or mixed underlying dependencies like package_info
  • Limited documentation beyond basic read/write examples
WarningsNoneNone
pref vs secure_shared_preferences: which Flutter package should you use? | pubscout