加载窗样式

This commit is contained in:
czz
2025-08-20 17:50:48 +08:00
parent d28842ad88
commit 2cbe9c2713
30 changed files with 103 additions and 161 deletions

View File

@@ -372,7 +372,7 @@
"型号:": "Model: ", "型号:": "Model: ",
"序列号:": "SN: ", "序列号:": "SN: ",
"报修单号:": "Ticket: ", "报修单号:": "Ticket: ",
"提交时间": "Submitted: ", "提交时间:": "Submitted: ",
"问题描述:": "Issue: ", "问题描述:": "Issue: ",
"报修状态": "Repair Status", "报修状态": "Repair Status",
"页面返回事件": "Page Back", "页面返回事件": "Page Back",

View File

@@ -372,7 +372,7 @@
"型号:": "型号: ", "型号:": "型号: ",
"序列号:": "序列号: ", "序列号:": "序列号: ",
"报修单号:": "报修单号: ", "报修单号:": "报修单号: ",
"提交时间": "提交时间: ", "提交时间:": "提交时间: ",
"问题描述:": "问题描述: ", "问题描述:": "问题描述: ",
"报修状态": "报修状态", "报修状态": "报修状态",
"页面返回事件": "页面返回事件", "页面返回事件": "页面返回事件",

View File

@@ -372,7 +372,7 @@
"型号:": "型號: ", "型号:": "型號: ",
"序列号:": "序列號: ", "序列号:": "序列號: ",
"报修单号:": "報修單號: ", "报修单号:": "報修單號: ",
"提交时间": "提交時間: ", "提交时间:": "提交時間: ",
"问题描述:": "問題描述: ", "问题描述:": "問題描述: ",
"报修状态": "報修狀態", "报修状态": "報修狀態",
"页面返回事件": "頁面返回事件", "页面返回事件": "頁面返回事件",

View File

@@ -531,7 +531,7 @@ class LoadingDialog {
CircularProgressIndicator( CircularProgressIndicator(
strokeWidth: 2, strokeWidth: 2,
valueColor: AlwaysStoppedAnimation<Color>( valueColor: AlwaysStoppedAnimation<Color>(
themeController.currentColor.sc1, themeController.currentColor.sc3,
), ),
), ),
], ],

View File

@@ -121,7 +121,7 @@ class _AfterWifiPagePersonState extends State<AfterWifiPagePerson> {
child: CircularProgressIndicator( child: CircularProgressIndicator(
strokeWidth: 1, strokeWidth: 1,
valueColor: valueColor:
AlwaysStoppedAnimation<Color>( themeController.currentColor.sc1,), AlwaysStoppedAnimation<Color>(Colors.white),
), ),
); );
} }
@@ -132,7 +132,7 @@ class _AfterWifiPagePersonState extends State<AfterWifiPagePerson> {
child: CircularProgressIndicator( child: CircularProgressIndicator(
strokeWidth: 1, strokeWidth: 1,
valueColor: valueColor:
AlwaysStoppedAnimation<Color>( themeController.currentColor.sc1,), AlwaysStoppedAnimation<Color>(Colors.white),
), ),
); );
} }
@@ -144,7 +144,7 @@ class _AfterWifiPagePersonState extends State<AfterWifiPagePerson> {
child: CircularProgressIndicator( child: CircularProgressIndicator(
strokeWidth: 1, strokeWidth: 1,
valueColor: valueColor:
AlwaysStoppedAnimation<Color>( themeController.currentColor.sc1,), AlwaysStoppedAnimation<Color>(Colors.white),
), ),
); );
} }
@@ -640,7 +640,7 @@ class _AfterWifiPagePersonState extends State<AfterWifiPagePerson> {
valueColor: valueColor:
AlwaysStoppedAnimation< AlwaysStoppedAnimation<
Color>( Color>(
themeController.currentColor.sc1,), Colors.white),
), ),
) )
else else

View File

@@ -155,7 +155,7 @@ class _SingleBlueteethDeviceCompoentWidgetState
child: CircularProgressIndicator( child: CircularProgressIndicator(
strokeWidth: 1, strokeWidth: 1,
valueColor: valueColor:
AlwaysStoppedAnimation<Color>( themeController.currentColor.sc1,), AlwaysStoppedAnimation<Color>(Colors.white),
), ),
); );
} }
@@ -368,7 +368,7 @@ class _SingleBlueteethDeviceCompoentWidgetState
height: 24.rpx, height: 24.rpx,
child: CircularProgressIndicator( child: CircularProgressIndicator(
strokeWidth: 1, strokeWidth: 1,
valueColor: AlwaysStoppedAnimation<Color>( themeController.currentColor.sc1,), valueColor: AlwaysStoppedAnimation<Color>(Colors.white),
), ),
); );
} }

View File

@@ -177,7 +177,7 @@ class _WifiPageState extends State<WifiPage> {
child: CircularProgressIndicator( child: CircularProgressIndicator(
strokeWidth: 1, strokeWidth: 1,
valueColor: AlwaysStoppedAnimation<Color>( valueColor: AlwaysStoppedAnimation<Color>(
themeController.currentColor.sc1,), Colors.white),
), ),
); );
} }
@@ -191,7 +191,7 @@ class _WifiPageState extends State<WifiPage> {
child: CircularProgressIndicator( child: CircularProgressIndicator(
strokeWidth: 1, strokeWidth: 1,
valueColor: AlwaysStoppedAnimation<Color>( valueColor: AlwaysStoppedAnimation<Color>(
themeController.currentColor.sc1,), Colors.white),
), ),
); );
} }
@@ -693,7 +693,7 @@ class _WifiPageState extends State<WifiPage> {
valueColor: valueColor:
AlwaysStoppedAnimation< AlwaysStoppedAnimation<
Color>( Color>(
themeController.currentColor.sc1,), Colors.white),
), ),
) )
else else

View File

@@ -120,9 +120,8 @@ class _WifiPagePersonState extends State<WifiPagePerson> {
height: 24.rpx, height: 24.rpx,
child: CircularProgressIndicator( child: CircularProgressIndicator(
strokeWidth: 1, strokeWidth: 1,
valueColor: AlwaysStoppedAnimation<Color>( valueColor:
themeController.currentColor.sc1, AlwaysStoppedAnimation<Color>(Colors.white),
),
), ),
); );
} }
@@ -133,7 +132,7 @@ class _WifiPagePersonState extends State<WifiPagePerson> {
child: CircularProgressIndicator( child: CircularProgressIndicator(
strokeWidth: 1, strokeWidth: 1,
valueColor: valueColor:
AlwaysStoppedAnimation<Color>( themeController.currentColor.sc1,), AlwaysStoppedAnimation<Color>(Colors.white),
), ),
); );
} }
@@ -145,7 +144,7 @@ class _WifiPagePersonState extends State<WifiPagePerson> {
child: CircularProgressIndicator( child: CircularProgressIndicator(
strokeWidth: 1, strokeWidth: 1,
valueColor: valueColor:
AlwaysStoppedAnimation<Color>( themeController.currentColor.sc1,), AlwaysStoppedAnimation<Color>(Colors.white),
), ),
); );
} }
@@ -637,7 +636,7 @@ class _WifiPagePersonState extends State<WifiPagePerson> {
valueColor: valueColor:
AlwaysStoppedAnimation< AlwaysStoppedAnimation<
Color>( Color>(
themeController.currentColor.sc1,), Colors.white),
), ),
) )
else else

View File

@@ -169,7 +169,7 @@ class _MessageWidgetWidgetState extends State<MessageWidgetWidget> {
child: Text( child: Text(
label.tr, label.tr,
overflow: TextOverflow.ellipsis, overflow: TextOverflow.ellipsis,
maxLines: 2, maxLines: 1,
style: TextStyle( style: TextStyle(
fontFamily: 'Inter', fontFamily: 'Inter',
fontSize: 26.rpx, fontSize: 26.rpx,
@@ -184,13 +184,15 @@ class _MessageWidgetWidgetState extends State<MessageWidgetWidget> {
Widget _buildValueItem(BuildContext context, value) { Widget _buildValueItem(BuildContext context, value) {
return Container( return Container(
constraints: BoxConstraints(minHeight: 60.rpx, maxHeight: 60.rpx), constraints: BoxConstraints(
minHeight: 62.rpx,
),
child: Align( child: Align(
alignment: AlignmentDirectional(-1, 0), alignment: AlignmentDirectional(-1, 0),
child: Text( child: Text(
"${value}", "${value}",
overflow: TextOverflow.ellipsis, overflow: TextOverflow.ellipsis,
maxLines: 2, maxLines: 1,
style: TextStyle( style: TextStyle(
fontFamily: 'Inter', fontFamily: 'Inter',
fontSize: 26.rpx, fontSize: 26.rpx,

View File

@@ -135,13 +135,7 @@ class _EPageState extends State<EPage> with AutomaticKeepAliveClientMixin {
Widget _buildLoggedInContent() { Widget _buildLoggedInContent() {
return Obx(() { return Obx(() {
if (finalUri.isEmpty) { if (finalUri.isEmpty) {
return Center( return Center(child: CircularProgressIndicator());
child: CircularProgressIndicator(
strokeWidth: 1,
valueColor: AlwaysStoppedAnimation<Color>(
themeController.currentColor.sc1,
),
));
} }
// 如果设备列表为空 // 如果设备列表为空
@@ -179,13 +173,7 @@ class _EPageState extends State<EPage> with AutomaticKeepAliveClientMixin {
valueListenable: isPageLoading, valueListenable: isPageLoading,
builder: (context, isLoading, child) { builder: (context, isLoading, child) {
return isLoading return isLoading
? Center( ? Center(child: CircularProgressIndicator())
child: CircularProgressIndicator(
strokeWidth: 1,
valueColor: AlwaysStoppedAnimation<Color>(
themeController.currentColor.sc1,
),
))
: SizedBox.shrink(); : SizedBox.shrink();
}, },
), ),

View File

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

View File

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

View File

@@ -169,11 +169,11 @@ class _MHTWifiPageState extends State<MHTWifiPage> {
return SizedBox( return SizedBox(
width: 24.rpx, width: 24.rpx,
height: 24.rpx, height: 24.rpx,
child:CircularProgressIndicator( child: CircularProgressIndicator(
strokeWidth: 1, strokeWidth: 1,
valueColor: valueColor:
AlwaysStoppedAnimation<Color>(themeController.currentColor.sc1), AlwaysStoppedAnimation<Color>(Colors.white),
) ),
); );
} }
if (blueteethBindController.netType.value == 0) { if (blueteethBindController.netType.value == 0) {
@@ -183,8 +183,8 @@ class _MHTWifiPageState extends State<MHTWifiPage> {
child: CircularProgressIndicator( child: CircularProgressIndicator(
strokeWidth: 1, strokeWidth: 1,
valueColor: valueColor:
AlwaysStoppedAnimation<Color>(themeController.currentColor.sc1), AlwaysStoppedAnimation<Color>(Colors.white),
) ),
); );
} }
if (blueteethBindController.wifiConnectStatus.value == if (blueteethBindController.wifiConnectStatus.value ==
@@ -192,11 +192,11 @@ class _MHTWifiPageState extends State<MHTWifiPage> {
return SizedBox( return SizedBox(
width: 24.rpx, width: 24.rpx,
height: 24.rpx, height: 24.rpx,
child:CircularProgressIndicator( child: CircularProgressIndicator(
strokeWidth: 1, strokeWidth: 1,
valueColor: valueColor:
AlwaysStoppedAnimation<Color>(themeController.currentColor.sc1), AlwaysStoppedAnimation<Color>(Colors.white),
) ),
); );
} }
return Container(); return Container();
@@ -643,8 +643,10 @@ class _MHTWifiPageState extends State<MHTWifiPage> {
CircularProgressIndicator( CircularProgressIndicator(
strokeWidth: 1, strokeWidth: 1,
valueColor: valueColor:
AlwaysStoppedAnimation<Color>(themeController.currentColor.sc1), AlwaysStoppedAnimation<
) Color>(
Colors.white),
),
) )
else else
getWifiIconByRsso( getWifiIconByRsso(

View File

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

View File

@@ -152,7 +152,7 @@ class _ExperienceStorePageState extends State<ExperienceStorePage> {
return CircularProgressIndicator( return CircularProgressIndicator(
strokeWidth: 1, strokeWidth: 1,
valueColor: valueColor:
AlwaysStoppedAnimation<Color>(themeController.currentColor.sc1), AlwaysStoppedAnimation<Color>(Colors.white),
); );
} else { } else {
return Container(); return Container();

View File

@@ -99,11 +99,10 @@ class _HelpArticleState extends State<HelpArticle> {
Container( Container(
color: const Color(0xFF042C46), color: const Color(0xFF042C46),
alignment: Alignment.center, alignment: Alignment.center,
child: CircularProgressIndicator( child: const CircularProgressIndicator(
strokeWidth: 1,
valueColor: valueColor:
AlwaysStoppedAnimation<Color>(themeController.currentColor.sc1), AlwaysStoppedAnimation<Color>(Colors.white),
) ),
), ),
], ],
), ),

View File

@@ -501,11 +501,7 @@ class _MhtSleepReportPageState extends State<MhtSleepReportPage> {
padding: EdgeInsets.fromLTRB( padding: EdgeInsets.fromLTRB(
0, 30.rpx, 0, 0), 0, 30.rpx, 0, 0),
child: Center( child: Center(
child:CircularProgressIndicator( child: CircularProgressIndicator()),
strokeWidth: 1,
valueColor:
AlwaysStoppedAnimation<Color>(themeController.currentColor.sc1),
)),
) )
: hasValidData : hasValidData
? Column( ? Column(

View File

@@ -73,11 +73,7 @@ class IssueListPage extends GetView<IssueListController> {
), ),
child: Obx(() { child: Obx(() {
if (controller.model.isLoading) { if (controller.model.isLoading) {
return Center(child:CircularProgressIndicator( return Center(child: CircularProgressIndicator()); // ✅ 加载中
strokeWidth: 1,
valueColor:
AlwaysStoppedAnimation<Color>(themeController.currentColor.sc1),
)); // ✅ 加载中
} }
if (controller.model.issueList.isEmpty) { if (controller.model.issueList.isEmpty) {

View File

@@ -94,11 +94,7 @@ class _PrivacyPolicyPageState extends State<PrivacyPolicyPage> {
Expanded( Expanded(
child: Obx(() { child: Obx(() {
if (pdfController.localPdfPath.value == null) { if (pdfController.localPdfPath.value == null) {
return Center(child:CircularProgressIndicator( return Center(child: CircularProgressIndicator());
strokeWidth: 1,
valueColor:
AlwaysStoppedAnimation<Color>(themeController.currentColor.sc1),
));
} else { } else {
return PDFView( return PDFView(
filePath: pdfController.localPdfPath.value!, filePath: pdfController.localPdfPath.value!,

View File

@@ -565,11 +565,7 @@ class WebviewTestView extends GetComponent<WebviewTestController> {
// return (controller.ready.value && (MainPageBBottomChange.getCurrentIndex() == 2)) // return (controller.ready.value && (MainPageBBottomChange.getCurrentIndex() == 2))
return (controller.ready.value) return (controller.ready.value)
? controller.web.build() ? controller.web.build()
: Center(child:CircularProgressIndicator( : Center(child: CircularProgressIndicator());
strokeWidth: 1,
valueColor:
AlwaysStoppedAnimation<Color>(themeController.currentColor.sc1),
));
}), }),
), ),
), ),

View File

@@ -98,11 +98,7 @@ class _UserAgreementPageState extends State<UserAgreementPage> {
Expanded( Expanded(
child: Obx(() { child: Obx(() {
if (pdfController.localPdfPath.value == null) { if (pdfController.localPdfPath.value == null) {
return Center(child: CircularProgressIndicator( return Center(child: CircularProgressIndicator());
strokeWidth: 1,
valueColor:
AlwaysStoppedAnimation<Color>(themeController.currentColor.sc1),
));
} else { } else {
return PDFView( return PDFView(
filePath: pdfController.localPdfPath.value!, filePath: pdfController.localPdfPath.value!,

View File

@@ -114,11 +114,7 @@ class _PrivacyPolicyNewPageState extends State<PrivacyPolicyNewPage> {
builder: (context, isLoading, child) { builder: (context, isLoading, child) {
return isLoading return isLoading
? Center( ? Center(
child:CircularProgressIndicator( child: CircularProgressIndicator(), // 加载指示器
strokeWidth: 1,
valueColor:
AlwaysStoppedAnimation<Color>(themeController.currentColor.sc1),
), // 加载指示器
) )
: SizedBox.shrink(); : SizedBox.shrink();
}, },

View File

@@ -109,11 +109,7 @@ class _UserPrivacyNewPageState extends State<UserPrivacyNewPage> {
builder: (context, isLoading, child) { builder: (context, isLoading, child) {
return isLoading return isLoading
? Center( ? Center(
child:CircularProgressIndicator( child: CircularProgressIndicator(), // 加载指示器
strokeWidth: 1,
valueColor:
AlwaysStoppedAnimation<Color>(themeController.currentColor.sc1),
), // 加载指示器
) )
: SizedBox.shrink(); : SizedBox.shrink();
}, },

View File

@@ -87,7 +87,7 @@ class _ApplyRepairPageState extends State<ApplyRepairPage> {
.map((e) => (e['_id']) as String) .map((e) => (e['_id']) as String)
.toList(); .toList();
repairController.deviceListIdLabel = bodyDeviceController.deviceList repairController.deviceListIdLabel = bodyDeviceController.deviceList
.map((e) => (e['code'] ?? e['mac']) as String) .map((e) => (e['code']??e['mac']) as String)
.toList(); .toList();
} }
return LayoutBuilder( return LayoutBuilder(

View File

@@ -141,7 +141,14 @@ class _CompareSleepWidgetState extends State<CompareSleepWidget> {
SizedBox( SizedBox(
height: 31.rpx, height: 31.rpx,
), ),
// Padding(
// padding:
// EdgeInsetsDirectional.fromSTEB(30.rpx, 0.rpx, 30.rpx, 0.rpx),
// child: SleepRadarChart(
// today: today,
// yesterday: yesterday,
// ),
// ),
Padding( Padding(
padding: padding:
EdgeInsetsDirectional.fromSTEB(0.rpx, 0.rpx, 30.rpx, 0.rpx), EdgeInsetsDirectional.fromSTEB(0.rpx, 0.rpx, 30.rpx, 0.rpx),

View File

@@ -555,11 +555,7 @@ class _NewSleepReportPageState extends State<NewSleepReportPage> {
), ),
Obx(() { Obx(() {
if (sleepReportController.isLoading.value) { if (sleepReportController.isLoading.value) {
return Center(child:CircularProgressIndicator( return Center(child: CircularProgressIndicator());
strokeWidth: 1,
valueColor:
AlwaysStoppedAnimation<Color>(themeController.currentColor.sc1),
));
} }
if (sleepReport == null || sleepReport.isEmpty) { if (sleepReport == null || sleepReport.isEmpty) {
// 空数据 // 空数据
@@ -851,11 +847,7 @@ class _NewSleepReportPageState extends State<NewSleepReportPage> {
), ),
Obx(() { Obx(() {
if (sleepReportController.isLoading.value) { if (sleepReportController.isLoading.value) {
return Center(child:CircularProgressIndicator( return Center(child: CircularProgressIndicator());
strokeWidth: 1,
valueColor:
AlwaysStoppedAnimation<Color>(themeController.currentColor.sc1),
));
} }
switch (sleepReportController.model.type) { switch (sleepReportController.model.type) {
case 1: case 1:

View File

@@ -104,11 +104,7 @@ class _SleepReportPageState extends State<SleepReportPage> {
builder: (context, isLoading, child) { builder: (context, isLoading, child) {
return isLoading return isLoading
? Center( ? Center(
child:CircularProgressIndicator( child: CircularProgressIndicator(), // 加载指示器
strokeWidth: 1,
valueColor:
AlwaysStoppedAnimation<Color>(themeController.currentColor.sc1),
), // 加载指示器
) )
: SizedBox.shrink(); : SizedBox.shrink();
}, },

View File

@@ -93,11 +93,7 @@ class _PrivacySchemePageState extends State<PrivacySchemePage> {
Expanded( Expanded(
child: Obx(() { child: Obx(() {
if (pdfController.localPdfPath.value == null) { if (pdfController.localPdfPath.value == null) {
return Center(child:CircularProgressIndicator( return Center(child: CircularProgressIndicator());
strokeWidth: 1,
valueColor:
AlwaysStoppedAnimation<Color>(themeController.currentColor.sc1),
));
} else { } else {
return PDFView( return PDFView(
filePath: pdfController.localPdfPath.value!, filePath: pdfController.localPdfPath.value!,

View File

@@ -98,11 +98,7 @@ class _UserSchemePageState extends State<UserSchemePage> {
Expanded( Expanded(
child: Obx(() { child: Obx(() {
if (pdfController.localPdfPath.value == null) { if (pdfController.localPdfPath.value == null) {
return Center(child:CircularProgressIndicator( return Center(child: CircularProgressIndicator());
strokeWidth: 1,
valueColor:
AlwaysStoppedAnimation<Color>(themeController.currentColor.sc1),
));
} else { } else {
return PDFView( return PDFView(
filePath: pdfController.localPdfPath.value!, filePath: pdfController.localPdfPath.value!,

View File

@@ -104,11 +104,7 @@ class _XiaoEPageState extends State<XiaoEPage> {
builder: (context, isLoading, child) { builder: (context, isLoading, child) {
return isLoading return isLoading
? Center( ? Center(
child: CircularProgressIndicator( child: CircularProgressIndicator(), // 加载指示器
strokeWidth: 1,
valueColor: AlwaysStoppedAnimation<Color>(
themeController.currentColor.sc1),
), // 加载指示器
) )
: SizedBox.shrink(); : SizedBox.shrink();
}, },