onepref 0.0.2 copy "onepref: ^0.0.2" to clipboard
onepref: ^0.0.2 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.

Getting started #


flutter pub add OnePref


Import `/OnePref.dart`

Call this 'OnePref.Init();' once in your opening screen such splash screen, to activate the shared_preferences.

Usage #

To Write

OnePref.setString("key","value here");
Get the Value

const value = OnePref.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