shared_preferences_ios_sn 1.0.3 shared_preferences_ios_sn: ^1.0.3 copied to clipboard
Simply to wrap the Flutter plugin shared_preferences plugin and provide iOS "suite name" feature
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add shared_preferences_ios_sn
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
shared_preferences_ios_sn: ^1.0.3
Alternatively, 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_preferences_ios_sn/SPUtil.dart';
import 'package:shared_preferences_ios_sn/method_channel_shared_preferences_sn.dart';