obscured_preferences 0.1.0

Flutter Android iOS

The package uses shared_preferences and encrypt packages to encrypt values stored in shared preferences.

obscured_preferences #

This package makes use of shared_preferences and encrypt packages to provide encrypted shared preferences.

Usage #

The syntax and usage of this package is the same as that of shared_preferences.

import 'package:flutter/material.dart';
import 'package:obscured_preferences/obscured_preferences.dart';


void savePrefs() async {

    ObscuredPrefs prefs = await ObscuredPrefs.getInstance();

    await prefs.setString('key', 'Hello World!');

    final strValue = prefs.getString('key');
}
2
likes
90
pub points
56%
popularity

The package uses shared_preferences and encrypt packages to encrypt values stored in shared preferences.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

sachin@dreamsoftin.com

License

MIT (LICENSE)

Dependencies

encrypt, flutter, shared_preferences

More

Packages that depend on obscured_preferences