📜  删除共享偏好颤动 - Dart 代码示例

📅  最后修改于: 2022-03-11 14:48:09.193000             🧑  作者: Mango

代码示例1
import 'dart:async';
import 'package:shared_preferences/shared_preferences.dart';
...
SharedPreferences preferences = await SharedPreferences.getInstance();
await preferences.clear();