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-')) {
|
||||
showDialog(
|
||||
context: ActionSheetUtils.context,
|
||||
builder: (context) => DidvanCard(
|
||||
builder: (context) => Dialog(
|
||||
alignment: Alignment.center,
|
||||
child: DidvanCard(
|
||||
child: Column(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
children: [
|
||||
DidvanText(href.split('-').last),
|
||||
const DidvanDivider(),
|
||||
|
|
@ -217,6 +220,7 @@ class _DidvanPageViewState extends State<DidvanPageView> {
|
|||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
} else {
|
||||
launch(href);
|
||||
|
|
|
|||
Loading…
Reference in New Issue