加载窗样式
This commit is contained in:
@@ -78,11 +78,11 @@ class _DeviceComponentWidgetState extends State<DeviceComponentWidget> {
|
||||
return SizedBox(
|
||||
width: 24.rpx,
|
||||
height: 24.rpx,
|
||||
child:CircularProgressIndicator(
|
||||
strokeWidth: 1,
|
||||
valueColor:
|
||||
AlwaysStoppedAnimation<Color>(themeController.currentColor.sc1),
|
||||
)
|
||||
child: CircularProgressIndicator(
|
||||
strokeWidth: 1,
|
||||
valueColor: AlwaysStoppedAnimation<Color>(
|
||||
stringToColor("#929699")),
|
||||
),
|
||||
);
|
||||
}
|
||||
return Container();
|
||||
@@ -387,11 +387,10 @@ class _DeviceComponentWidgetState extends State<DeviceComponentWidget> {
|
||||
return SizedBox(
|
||||
width: 24.rpx,
|
||||
height: 24.rpx,
|
||||
child:CircularProgressIndicator(
|
||||
strokeWidth: 1,
|
||||
valueColor:
|
||||
AlwaysStoppedAnimation<Color>(themeController.currentColor.sc1),
|
||||
)
|
||||
child: CircularProgressIndicator(
|
||||
strokeWidth: 1,
|
||||
valueColor: AlwaysStoppedAnimation<Color>(Colors.white),
|
||||
),
|
||||
);
|
||||
}
|
||||
return Container();
|
||||
|
||||
@@ -140,11 +140,7 @@ class _MHTPeopleInfoPageState extends State<MHTPeopleInfoPage> {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
if (isLoading) {
|
||||
return Center(child:CircularProgressIndicator(
|
||||
strokeWidth: 1,
|
||||
valueColor:
|
||||
AlwaysStoppedAnimation<Color>(themeController.currentColor.sc1),
|
||||
));
|
||||
return Center(child: CircularProgressIndicator());
|
||||
}
|
||||
|
||||
return LayoutBuilder(
|
||||
|
||||
@@ -169,11 +169,11 @@ class _MHTWifiPageState extends State<MHTWifiPage> {
|
||||
return SizedBox(
|
||||
width: 24.rpx,
|
||||
height: 24.rpx,
|
||||
child:CircularProgressIndicator(
|
||||
strokeWidth: 1,
|
||||
valueColor:
|
||||
AlwaysStoppedAnimation<Color>(themeController.currentColor.sc1),
|
||||
)
|
||||
child: CircularProgressIndicator(
|
||||
strokeWidth: 1,
|
||||
valueColor:
|
||||
AlwaysStoppedAnimation<Color>(Colors.white),
|
||||
),
|
||||
);
|
||||
}
|
||||
if (blueteethBindController.netType.value == 0) {
|
||||
@@ -181,10 +181,10 @@ class _MHTWifiPageState extends State<MHTWifiPage> {
|
||||
width: 24.rpx,
|
||||
height: 24.rpx,
|
||||
child: CircularProgressIndicator(
|
||||
strokeWidth: 1,
|
||||
valueColor:
|
||||
AlwaysStoppedAnimation<Color>(themeController.currentColor.sc1),
|
||||
)
|
||||
strokeWidth: 1,
|
||||
valueColor:
|
||||
AlwaysStoppedAnimation<Color>(Colors.white),
|
||||
),
|
||||
);
|
||||
}
|
||||
if (blueteethBindController.wifiConnectStatus.value ==
|
||||
@@ -192,11 +192,11 @@ class _MHTWifiPageState extends State<MHTWifiPage> {
|
||||
return SizedBox(
|
||||
width: 24.rpx,
|
||||
height: 24.rpx,
|
||||
child:CircularProgressIndicator(
|
||||
strokeWidth: 1,
|
||||
valueColor:
|
||||
AlwaysStoppedAnimation<Color>(themeController.currentColor.sc1),
|
||||
)
|
||||
child: CircularProgressIndicator(
|
||||
strokeWidth: 1,
|
||||
valueColor:
|
||||
AlwaysStoppedAnimation<Color>(Colors.white),
|
||||
),
|
||||
);
|
||||
}
|
||||
return Container();
|
||||
@@ -640,11 +640,13 @@ class _MHTWifiPageState extends State<MHTWifiPage> {
|
||||
width: 32.rpx,
|
||||
height: 32.rpx,
|
||||
child:
|
||||
CircularProgressIndicator(
|
||||
strokeWidth: 1,
|
||||
valueColor:
|
||||
AlwaysStoppedAnimation<Color>(themeController.currentColor.sc1),
|
||||
)
|
||||
CircularProgressIndicator(
|
||||
strokeWidth: 1,
|
||||
valueColor:
|
||||
AlwaysStoppedAnimation<
|
||||
Color>(
|
||||
Colors.white),
|
||||
),
|
||||
)
|
||||
else
|
||||
getWifiIconByRsso(
|
||||
|
||||
@@ -166,11 +166,11 @@ class _MHTWifiAfterPageState extends State<MHTWifiAfterPage> {
|
||||
return SizedBox(
|
||||
width: 24.rpx,
|
||||
height: 24.rpx,
|
||||
child:CircularProgressIndicator(
|
||||
strokeWidth: 1,
|
||||
valueColor:
|
||||
AlwaysStoppedAnimation<Color>(themeController.currentColor.sc1),
|
||||
)
|
||||
child: CircularProgressIndicator(
|
||||
strokeWidth: 1,
|
||||
valueColor:
|
||||
AlwaysStoppedAnimation<Color>(Colors.white),
|
||||
),
|
||||
);
|
||||
}
|
||||
if (blueteethBindController.netType.value == 0) {
|
||||
@@ -178,10 +178,10 @@ class _MHTWifiAfterPageState extends State<MHTWifiAfterPage> {
|
||||
width: 24.rpx,
|
||||
height: 24.rpx,
|
||||
child: CircularProgressIndicator(
|
||||
strokeWidth: 1,
|
||||
valueColor:
|
||||
AlwaysStoppedAnimation<Color>(themeController.currentColor.sc1),
|
||||
)
|
||||
strokeWidth: 1,
|
||||
valueColor:
|
||||
AlwaysStoppedAnimation<Color>(Colors.white),
|
||||
),
|
||||
);
|
||||
}
|
||||
if (blueteethBindController.wifiConnectStatus.value ==
|
||||
@@ -190,10 +190,10 @@ class _MHTWifiAfterPageState extends State<MHTWifiAfterPage> {
|
||||
width: 24.rpx,
|
||||
height: 24.rpx,
|
||||
child: CircularProgressIndicator(
|
||||
strokeWidth: 1,
|
||||
valueColor:
|
||||
AlwaysStoppedAnimation<Color>(themeController.currentColor.sc1),
|
||||
)
|
||||
strokeWidth: 1,
|
||||
valueColor:
|
||||
AlwaysStoppedAnimation<Color>(Colors.white),
|
||||
),
|
||||
);
|
||||
}
|
||||
return Container();
|
||||
@@ -613,11 +613,13 @@ class _MHTWifiAfterPageState extends State<MHTWifiAfterPage> {
|
||||
width: 32.rpx,
|
||||
height: 32.rpx,
|
||||
child:
|
||||
CircularProgressIndicator(
|
||||
strokeWidth: 1,
|
||||
valueColor:
|
||||
AlwaysStoppedAnimation<Color>(themeController.currentColor.sc1),
|
||||
)
|
||||
CircularProgressIndicator(
|
||||
strokeWidth: 1,
|
||||
valueColor:
|
||||
AlwaysStoppedAnimation<
|
||||
Color>(
|
||||
Colors.white),
|
||||
),
|
||||
)
|
||||
else
|
||||
getWifiIconByRsso(
|
||||
|
||||
Reference in New Issue
Block a user