mirror of
https://github.com/alibaba/flutter-go.git
synced 2025-08-06 09:01:00 +08:00
Merge branch 'master' of github.com:alibaba/flutter-common-widgets-app into develop
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
import 'dart:async';
|
||||
import 'package:shared_preferences/shared_preferences.dart';
|
||||
export 'package:flutter_go/resources/shared_preferences_keys.dart';
|
||||
///
|
||||
|
||||
/// 用来做shared_preferences的存储
|
||||
class SpUtil {
|
||||
static SpUtil _instance;
|
||||
@ -20,7 +20,6 @@ class SpUtil {
|
||||
}
|
||||
|
||||
static Future<SpUtil> getInstance() async {
|
||||
print("_instance>>$_instance");
|
||||
if (_instance == null) {
|
||||
_instance = new SpUtil._();
|
||||
await _instance._init();
|
||||
|
Reference in New Issue
Block a user