onepref 0.0.1 copy "onepref: ^0.0.1" to clipboard
onepref: ^0.0.1 copied to clipboard

A simplified version of SharedPreferences.

This package is endorsed, which means you can simply use shared_preferences normally. This package will be automatically included in your app when you do, so you do not need to add it to your pubspec.yaml.

Features #

EasyPref offers the same functionality shared_preferences package offers, so it in this package you will easily access the shared_preferences methods everywhere in your app. ........... To write/store a string EasyPref.setString("key","value here");

To access/get the string var value = EasyPref.getString("key"); ...........

Getting started #


flutter pub add EasyPref

Import `/EasyPref.dart`
    
Call this 'EasyPref.Init();' once in your opening screen such splash screen, to activate the shared_preferences.

Usage #

To Write

EasyPref.setString("key","value here");
Get the Value
const value = EasyPref.getString("key");

Additional information #

init push

20
likes
0
pub points
88%
popularity

Publisher

verified publisherdingi.icu

A simplified version of SharedPreferences.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, shared_preferences

More

Packages that depend on onepref