flutter_cloud_preferences 0.2.0
flutter_cloud_preferences: ^0.2.0 copied to clipboard
Key-value preferences that survive reinstalls and new devices, backed up to iCloud key-value storage on iOS and macOS and Android Auto Backup on Android.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flutter_cloud_preferencesThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
flutter_cloud_preferences: ^0.2.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:flutter_cloud_preferences/flutter_cloud_preferences.dart';