increase button spacing and use standard size

extAlign: TextAlign.left not workign as expected
This commit is contained in:
sneurlax 2023-10-18 11:36:14 -05:00
parent ad80a84990
commit 827fcb0cc8

View file

@ -73,6 +73,7 @@ class _FusionDialogViewState extends ConsumerState<FusionDialogView> {
Text( Text(
"Do you really want to cancel the fusion process?", "Do you really want to cancel the fusion process?",
style: STextStyles.smallMed14(context), style: STextStyles.smallMed14(context),
textAlign: TextAlign.left,
), ),
const SizedBox(height: 40), const SizedBox(height: 40),
Row( Row(
@ -80,15 +81,17 @@ class _FusionDialogViewState extends ConsumerState<FusionDialogView> {
Expanded( Expanded(
child: SecondaryButton( child: SecondaryButton(
label: "No", label: "No",
buttonHeight: ButtonHeight.l,
onPressed: () { onPressed: () {
Navigator.of(context).pop(false); Navigator.of(context).pop(false);
}, },
), ),
), ),
const SizedBox(width: 8), const SizedBox(width: 16),
Expanded( Expanded(
child: PrimaryButton( child: PrimaryButton(
label: "Yes", label: "Yes",
buttonHeight: ButtonHeight.l,
onPressed: () { onPressed: () {
Navigator.of(context).pop(true); Navigator.of(context).pop(true);
}, },