fixed a bug in alert display

This commit is contained in:
Amir Hossein Mousavi 2023-09-05 16:51:47 +03:30
parent 4922f517ad
commit 6c55a79d2d
1 changed files with 12 additions and 10 deletions

View File

@ -194,6 +194,7 @@ class ActionSheetUtils {
Row(
mainAxisSize: MainAxisSize.min,
children: [
if (data.titleIcon != null)
GestureDetector(
onTap: () => Navigator.of(context).pop(),
child: Icon(
@ -202,6 +203,7 @@ class ActionSheetUtils {
color: data.titleColor,
),
),
if (data.titleIcon != null)
const SizedBox(
width: 8,
),