Merge branch 'master' of github.com:alibaba/flutter-common-widgets-app into develop

This commit is contained in:
sanfan.hx
2019-02-02 14:16:50 +08:00
3 changed files with 7 additions and 5 deletions

View File

@ -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();