加载窗样式

This commit is contained in:
czz
2025-08-20 18:22:10 +08:00
parent 2cbe9c2713
commit a69209db72
25 changed files with 244 additions and 127 deletions

View File

@@ -78,11 +78,12 @@ class _DeviceComponentWidgetState extends State<DeviceComponentWidget> {
return SizedBox(
width: 24.rpx,
height: 24.rpx,
child: CircularProgressIndicator(
strokeWidth: 1,
valueColor: AlwaysStoppedAnimation<Color>(
stringToColor("#929699")),
),
child:CircularProgressIndicator(
strokeWidth: 2,
valueColor: AlwaysStoppedAnimation<Color>(
themeController.currentColor.sc1,
),
),
);
}
return Container();
@@ -387,10 +388,12 @@ class _DeviceComponentWidgetState extends State<DeviceComponentWidget> {
return SizedBox(
width: 24.rpx,
height: 24.rpx,
child: CircularProgressIndicator(
strokeWidth: 1,
valueColor: AlwaysStoppedAnimation<Color>(Colors.white),
),
child:CircularProgressIndicator(
strokeWidth: 2,
valueColor: AlwaysStoppedAnimation<Color>(
themeController.currentColor.sc1,
),
),
);
}
return Container();

View File

@@ -140,7 +140,12 @@ class _MHTPeopleInfoPageState extends State<MHTPeopleInfoPage> {
@override
Widget build(BuildContext context) {
if (isLoading) {
return Center(child: CircularProgressIndicator());
return Center(child:CircularProgressIndicator(
strokeWidth: 2,
valueColor: AlwaysStoppedAnimation<Color>(
themeController.currentColor.sc1,
),
),);
}
return LayoutBuilder(

View File

@@ -170,10 +170,11 @@ class _MHTWifiPageState extends State<MHTWifiPage> {
width: 24.rpx,
height: 24.rpx,
child: CircularProgressIndicator(
strokeWidth: 1,
valueColor:
AlwaysStoppedAnimation<Color>(Colors.white),
),
strokeWidth: 2,
valueColor: AlwaysStoppedAnimation<Color>(
themeController.currentColor.sc1,
),
),
);
}
if (blueteethBindController.netType.value == 0) {
@@ -181,10 +182,11 @@ class _MHTWifiPageState extends State<MHTWifiPage> {
width: 24.rpx,
height: 24.rpx,
child: CircularProgressIndicator(
strokeWidth: 1,
valueColor:
AlwaysStoppedAnimation<Color>(Colors.white),
),
strokeWidth: 2,
valueColor: AlwaysStoppedAnimation<Color>(
themeController.currentColor.sc1,
),
),
);
}
if (blueteethBindController.wifiConnectStatus.value ==
@@ -193,10 +195,11 @@ class _MHTWifiPageState extends State<MHTWifiPage> {
width: 24.rpx,
height: 24.rpx,
child: CircularProgressIndicator(
strokeWidth: 1,
valueColor:
AlwaysStoppedAnimation<Color>(Colors.white),
),
strokeWidth: 2,
valueColor: AlwaysStoppedAnimation<Color>(
themeController.currentColor.sc1,
),
),
);
}
return Container();
@@ -640,13 +643,12 @@ class _MHTWifiPageState extends State<MHTWifiPage> {
width: 32.rpx,
height: 32.rpx,
child:
CircularProgressIndicator(
strokeWidth: 1,
valueColor:
AlwaysStoppedAnimation<
Color>(
Colors.white),
),
CircularProgressIndicator(
strokeWidth: 2,
valueColor: AlwaysStoppedAnimation<Color>(
themeController.currentColor.sc1,
),
),
)
else
getWifiIconByRsso(

View File

@@ -166,22 +166,24 @@ class _MHTWifiAfterPageState extends State<MHTWifiAfterPage> {
return SizedBox(
width: 24.rpx,
height: 24.rpx,
child: CircularProgressIndicator(
strokeWidth: 1,
valueColor:
AlwaysStoppedAnimation<Color>(Colors.white),
),
child:CircularProgressIndicator(
strokeWidth: 2,
valueColor: AlwaysStoppedAnimation<Color>(
themeController.currentColor.sc1,
),
),
);
}
if (blueteethBindController.netType.value == 0) {
return SizedBox(
width: 24.rpx,
height: 24.rpx,
child: CircularProgressIndicator(
strokeWidth: 1,
valueColor:
AlwaysStoppedAnimation<Color>(Colors.white),
),
child:CircularProgressIndicator(
strokeWidth: 2,
valueColor: AlwaysStoppedAnimation<Color>(
themeController.currentColor.sc1,
),
),
);
}
if (blueteethBindController.wifiConnectStatus.value ==
@@ -189,11 +191,12 @@ class _MHTWifiAfterPageState extends State<MHTWifiAfterPage> {
return SizedBox(
width: 24.rpx,
height: 24.rpx,
child: CircularProgressIndicator(
strokeWidth: 1,
valueColor:
AlwaysStoppedAnimation<Color>(Colors.white),
),
child:CircularProgressIndicator(
strokeWidth: 2,
valueColor: AlwaysStoppedAnimation<Color>(
themeController.currentColor.sc1,
),
),
);
}
return Container();
@@ -613,13 +616,12 @@ class _MHTWifiAfterPageState extends State<MHTWifiAfterPage> {
width: 32.rpx,
height: 32.rpx,
child:
CircularProgressIndicator(
strokeWidth: 1,
valueColor:
AlwaysStoppedAnimation<
Color>(
Colors.white),
),
CircularProgressIndicator(
strokeWidth: 2,
valueColor: AlwaysStoppedAnimation<Color>(
themeController.currentColor.sc1,
),
),
)
else
getWifiIconByRsso(