shared_preferences_plus_linux 1.0.1
shared_preferences_plus_linux: ^1.0.1 copied to clipboard
Linux implementation of shared_preferences_plus.
shared_preferences_plus_linux #
The Linux implementation of the shared_preferences_plus plugin.
Usage #
This package is endorsed, which means you can simply use shared_preferences_plus normally. This package will be automatically included in your app when you depend on shared_preferences_plus.
dependencies:
shared_preferences_plus: ^1.0.0
Implementation Details #
- Uses the local file system to store data persistently as JSON files (
<container_name>.json). - Defers to
path_provider_linuxto safely retrieve XDG base directories. - Built strictly in Dart (via FFI through path_provider), removing the need for compiling C++ plugins.
- Supports named containers through
SharedPreferencesPlusOptionsfor isolated namespaces. - Supports retrieving all preferences with the
getAllmethod.
Related Packages #
- shared_preferences_plus — App-facing package
- shared_preferences_plus_platform_interface — Platform interface
- shared_preferences_plus_android — Android implementation
- shared_preferences_plus_foundation — iOS and macOS implementation
- shared_preferences_plus_web — Web implementation
- shared_preferences_plus_windows — Windows implementation