加载窗样式

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

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

View File

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