修复:大量的ScreenUtil误用,导致界面可能出现问题
(cherry picked from commit 2829da5267a14a9e0f43ff56060a68f1f8b2ca6a)
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user