shared_prefs_manager 0.0.1
shared_prefs_manager: ^0.0.1 copied to clipboard
A Dart package for easily using SharedPreferences. Provides access to the majority of SharedPreference's API.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add shared_prefs_managerThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
shared_prefs_manager: ^0.0.1Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:shared_prefs_manager/shared_prefs_manager.dart';