dialog overflow fix

This commit is contained in:
julian 2023-03-09 10:12:47 -06:00
parent d18b32e21f
commit 043545c758

View file

@ -21,20 +21,24 @@ class StackDialogBase extends StatelessWidget {
mainAxisAlignment:
!Util.isDesktop ? MainAxisAlignment.end : MainAxisAlignment.center,
children: [
Material(
borderRadius: BorderRadius.circular(
20,
),
child: Container(
decoration: BoxDecoration(
color: Theme.of(context).extension<StackColors>()!.popupBG,
Flexible(
child: SingleChildScrollView(
child: Material(
borderRadius: BorderRadius.circular(
20,
),
),
child: Padding(
padding: padding,
child: child,
child: Container(
decoration: BoxDecoration(
color: Theme.of(context).extension<StackColors>()!.popupBG,
borderRadius: BorderRadius.circular(
20,
),
),
child: Padding(
padding: padding,
child: child,
),
),
),
),
),