FLUTTER ECOSYSTEM

native_shared_preferences

This packages is a copy of the shared_prefrences package but without the prefix in the keys. Is used to migrate the data from previous native app.

Latest version
2.0.10
30-day downloads
179
Likes
34
Pub points
130

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Overview

A Flutter/Dart package that functions as a lightweight, persistent key-value storage solution, identical to the shared_preferences package but without key prefixes. Designed specifically for migrating data from legacy native applications, it ensures seamless compatibility with existing stored data by preserving original key names. Ideal for apps requiring simple, cross-platform data persistence without additional overhead. The package supports all major platforms including Android, iOS, Web, macOS, Windows, and Linux.

Use cases
  • Migrating data from native apps
  • Storing user preferences
  • Persisting app state across sessions
  • Cross-platform data storage
  • Simple key-value data management
Key features
  • No key prefixing
  • Direct data migration support
  • Multi-platform compatibility
  • Lightweight and fast
  • Easy integration with existing code
Suitable for
  • Legacy app migrations
  • Simple data persistence needs
  • Cross-platform apps
  • Developers needing direct key access
  • Apps avoiding key namespace conflicts
Considerations
  • Not recommended for large datasets
  • Limited to basic key-value storage
  • No built-in encryption
  • Requires careful key naming
  • Depends on underlying platform storage mechanisms
Supported platformsAndroidiOSWebmacOSWindowsLinux

Install package

flutter pub add native_shared_preferences

Categories

Dependencies

Dependency list 9 items
  • cupertino_icons^1.0.6
  • file^7.0.0
  • meta^1.9.1
  • shared_preferences^2.2.2
  • shared_preferences_linux^2.3.2
  • shared_preferences_macos^2.0.5
  • shared_preferences_platform_interface^2.3.1
  • shared_preferences_web^2.2.1
  • shared_preferences_windows^2.3.2

Source repository

Related projects