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-')) {
|
||||
showDialog(
|
||||
context: ActionSheetUtils.context,
|
||||
builder: (context) => DidvanCard(
|
||||
child: Column(
|
||||
children: [
|
||||
DidvanText(href.split('-').last),
|
||||
const DidvanDivider(),
|
||||
const DidvanButton(
|
||||
title: 'بستن',
|
||||
onPressed: ActionSheetUtils.pop,
|
||||
),
|
||||
],
|
||||
builder: (context) => Dialog(
|
||||
alignment: Alignment.center,
|
||||
child: DidvanCard(
|
||||
child: Column(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
children: [
|
||||
DidvanText(href.split('-').last),
|
||||
const DidvanDivider(),
|
||||
const DidvanButton(
|
||||
title: 'بستن',
|
||||
onPressed: ActionSheetUtils.pop,
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in New Issue