callout dialog size fixed
This commit is contained in:
parent
4c3f5bfe35
commit
9d6961e790
|
|
@ -205,8 +205,11 @@ 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(
|
||||||
|
alignment: Alignment.center,
|
||||||
|
child: DidvanCard(
|
||||||
child: Column(
|
child: Column(
|
||||||
|
mainAxisSize: MainAxisSize.min,
|
||||||
children: [
|
children: [
|
||||||
DidvanText(href.split('-').last),
|
DidvanText(href.split('-').last),
|
||||||
const DidvanDivider(),
|
const DidvanDivider(),
|
||||||
|
|
@ -217,6 +220,7 @@ class _DidvanPageViewState extends State<DidvanPageView> {
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
),
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
launch(href);
|
launch(href);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue