修复:大量的ScreenUtil误用,导致界面可能出现问题

(cherry picked from commit 2829da5267a14a9e0f43ff56060a68f1f8b2ca6a)
This commit is contained in:
2025-11-01 04:32:01 -07:00
committed by speakeloudest
parent 18ec3e36fc
commit b7a78aa76a
13 changed files with 79 additions and 79 deletions
+3 -3
View File
@@ -107,7 +107,7 @@ class KRDialog extends StatelessWidget {
children: [
if (icon != null) ...[
icon!,
SizedBox(height: 20.w),
SizedBox(height: 20.h),
],
if (title != null) ...[
Text(
@@ -121,7 +121,7 @@ class KRDialog extends StatelessWidget {
),
textAlign: TextAlign.center,
),
SizedBox(height: 12.w),
SizedBox(height: 12.h),
],
if (message != null || customMessageWidget != null) ...[
Container(
@@ -139,7 +139,7 @@ class KRDialog extends StatelessWidget {
),
),
),
SizedBox(height: 28.w),
SizedBox(height: 28.h),
],
if (cancelText != null) ...[
Row(