pub package

A simple wrapper for SharedPreferences

Supported data types are int, double, bool, String and List.

Android iOS Linux macOS Web Windows
Support SDK 16+ 9.0+ Any 10.11+ Any Any

Usage

To use this package, add simple_shared_preferences as a dependency in your pubspec.yaml file.

Examples

Here are small examples that show you how to use the API.

Use like SharedPreferences

SharedPreferences Doc

Write data

Read data
Remove an entry

// Remove data for the 'counter' key.
final success = await simplePreference.remove('counter');

Read More

By |2023-02-24T02:18:39+00:00February 24th, 2023|Education|0 Comments

Leave A Comment