This commit is contained in:
wyf
2025-11-14 12:01:07 +08:00
parent 776275aa3d
commit 7e44998240
24 changed files with 409 additions and 187 deletions

View File

@@ -695,7 +695,7 @@ void showSingleConfirmDialog(
// padding:
// EdgeInsetsDirectional.fromSTEB(0, 33.rpx, 0, 0.rpx),
padding: EdgeInsetsDirectional.fromSTEB(
33.rpx, 33.rpx, 33.rpx, 33.rpx),
33.rpx, 64.rpx, 33.rpx, 33.rpx),
child: SvgPicture.asset(
'assets/img/icon/close.svg',
width: 25.rpx,
@@ -710,7 +710,7 @@ void showSingleConfirmDialog(
alignment: AlignmentDirectional(0, 0),
child: Padding(
padding: EdgeInsetsDirectional.fromSTEB(
33.rpx, 60.rpx, 33.rpx, 33.rpx),
33.rpx, 33.rpx, 33.rpx, 33.rpx),
child: Text(
title,
style: TextStyle(
@@ -1793,7 +1793,7 @@ void showConfirmCancelDialog(
String confirmText = "", // ✅ 确认按钮文字
String cancelText = "", // ✅ 取消按钮文字
Color? confirmButtonColor, // ✅ 新增:确认按钮背景色
Color? cancelButtonColor, // ✅ 新增:取消按钮背景色
Color? cancelButtonColor, // ✅ 新增:取消按钮背景色
}) {
ThemeController themeController = Get.find();
try {