fixed a bug in alert display
This commit is contained in:
parent
4922f517ad
commit
6c55a79d2d
|
|
@ -194,6 +194,7 @@ class ActionSheetUtils {
|
||||||
Row(
|
Row(
|
||||||
mainAxisSize: MainAxisSize.min,
|
mainAxisSize: MainAxisSize.min,
|
||||||
children: [
|
children: [
|
||||||
|
if (data.titleIcon != null)
|
||||||
GestureDetector(
|
GestureDetector(
|
||||||
onTap: () => Navigator.of(context).pop(),
|
onTap: () => Navigator.of(context).pop(),
|
||||||
child: Icon(
|
child: Icon(
|
||||||
|
|
@ -202,6 +203,7 @@ class ActionSheetUtils {
|
||||||
color: data.titleColor,
|
color: data.titleColor,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
if (data.titleIcon != null)
|
||||||
const SizedBox(
|
const SizedBox(
|
||||||
width: 8,
|
width: 8,
|
||||||
),
|
),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue