modify stack dialog

This commit is contained in:
julian 2024-06-25 13:38:32 -06:00
parent eb7aa24a0a
commit 8639309e70

View file

@ -188,15 +188,20 @@ class StackOkDialog extends StatelessWidget {
height: 8, height: 8,
), ),
if (message != null) if (message != null)
Column( ConstrainedBox(
crossAxisAlignment: CrossAxisAlignment.start, constraints:
BoxConstraints(maxWidth: maxWidth ?? double.infinity),
child: Row(
children: [ children: [
Text( Flexible(
child: Text(
message!, message!,
style: STextStyles.smallMed14(context), style: STextStyles.smallMed14(context),
), ),
),
], ],
), ),
),
const SizedBox( const SizedBox(
height: 20, height: 20,
), ),