mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-03-25 16:48:48 +00:00
don't pad the close button so far away from the corner of the dialog
This commit is contained in:
parent
2d04e9d857
commit
05ab819f69
1 changed files with 37 additions and 25 deletions
|
@ -42,7 +42,7 @@ class _FusionDialogViewState extends ConsumerState<FusionDialogView> {
|
||||||
child: Padding(
|
child: Padding(
|
||||||
padding: const EdgeInsets.only(
|
padding: const EdgeInsets.only(
|
||||||
left: 32,
|
left: 32,
|
||||||
right: 32,
|
right: 0,
|
||||||
top: 0,
|
top: 0,
|
||||||
bottom: 32,
|
bottom: 32,
|
||||||
),
|
),
|
||||||
|
@ -60,32 +60,44 @@ class _FusionDialogViewState extends ConsumerState<FusionDialogView> {
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
const SizedBox(height: 20),
|
Padding(
|
||||||
Text(
|
padding: const EdgeInsets.only(
|
||||||
"Do you really want to cancel the fusion process?",
|
left: 0,
|
||||||
style: STextStyles.smallMed14(context),
|
right: 32,
|
||||||
),
|
top: 0,
|
||||||
const SizedBox(height: 40),
|
bottom: 0,
|
||||||
Row(
|
),
|
||||||
children: [
|
child: Column(
|
||||||
Expanded(
|
children: [
|
||||||
child: SecondaryButton(
|
const SizedBox(height: 20),
|
||||||
label: "No",
|
Text(
|
||||||
onPressed: () {
|
"Do you really want to cancel the fusion process?",
|
||||||
Navigator.of(context).pop(false);
|
style: STextStyles.smallMed14(context),
|
||||||
},
|
|
||||||
),
|
),
|
||||||
),
|
const SizedBox(height: 40),
|
||||||
const SizedBox(width: 8),
|
Row(
|
||||||
Expanded(
|
children: [
|
||||||
child: PrimaryButton(
|
Expanded(
|
||||||
label: "Yes",
|
child: SecondaryButton(
|
||||||
onPressed: () {
|
label: "No",
|
||||||
Navigator.of(context).pop(true);
|
onPressed: () {
|
||||||
},
|
Navigator.of(context).pop(false);
|
||||||
|
},
|
||||||
|
),
|
||||||
|
),
|
||||||
|
const SizedBox(width: 8),
|
||||||
|
Expanded(
|
||||||
|
child: PrimaryButton(
|
||||||
|
label: "Yes",
|
||||||
|
onPressed: () {
|
||||||
|
Navigator.of(context).pop(true);
|
||||||
|
},
|
||||||
|
),
|
||||||
|
),
|
||||||
|
],
|
||||||
),
|
),
|
||||||
),
|
],
|
||||||
],
|
),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in a new issue