callout dialog size fixed
This commit is contained in:
parent
4c3f5bfe35
commit
9d6961e790
|
|
@ -205,16 +205,20 @@ class _DidvanPageViewState extends State<DidvanPageView> {
|
||||||
} else if (href.contains('popup-')) {
|
} else if (href.contains('popup-')) {
|
||||||
showDialog(
|
showDialog(
|
||||||
context: ActionSheetUtils.context,
|
context: ActionSheetUtils.context,
|
||||||
builder: (context) => DidvanCard(
|
builder: (context) => Dialog(
|
||||||
child: Column(
|
alignment: Alignment.center,
|
||||||
children: [
|
child: DidvanCard(
|
||||||
DidvanText(href.split('-').last),
|
child: Column(
|
||||||
const DidvanDivider(),
|
mainAxisSize: MainAxisSize.min,
|
||||||
const DidvanButton(
|
children: [
|
||||||
title: 'بستن',
|
DidvanText(href.split('-').last),
|
||||||
onPressed: ActionSheetUtils.pop,
|
const DidvanDivider(),
|
||||||
),
|
const DidvanButton(
|
||||||
],
|
title: 'بستن',
|
||||||
|
onPressed: ActionSheetUtils.pop,
|
||||||
|
),
|
||||||
|
],
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue