flutterx_preferences 2.0.0
flutterx_preferences: ^2.0.0 copied to clipboard
Persistent and session key-value storage exposed as a synchronous Map<String, String>, with typed accessors for bool, int, double, JSON and lists.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flutterx_preferencesThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
flutterx_preferences: ^2.0.0Alternatively, 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:flutterx_preferences/flutterx_preferences.dart';