|
@@ -59,6 +59,7 @@ void main() async {
|
|
|
SystemChrome.setSystemUIOverlayStyle(SystemUiOverlayStyle.light.copyWith(
|
|
SystemChrome.setSystemUIOverlayStyle(SystemUiOverlayStyle.light.copyWith(
|
|
|
statusBarColor: Colors.transparent,
|
|
statusBarColor: Colors.transparent,
|
|
|
));
|
|
));
|
|
|
|
|
+ await SystemChrome.setPreferredOrientations([DeviceOrientation.portraitUp]);
|
|
|
final prefs = await SharedPreferences.getInstance();
|
|
final prefs = await SharedPreferences.getInstance();
|
|
|
print(prefs.getString('token'));
|
|
print(prefs.getString('token'));
|
|
|
//测试token
|
|
//测试token
|