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