mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-29 18:38:36 +08:00
PurchaseScreen: Wrap the bottom buttons
Sometimes the available screen space is not enough for them to be on the same line.
This commit is contained in:
@ -58,7 +58,7 @@ class _PurchaseScreenState extends State<PurchaseScreen> {
|
|||||||
const SizedBox(height: 32.0),
|
const SizedBox(height: 32.0),
|
||||||
Padding(
|
Padding(
|
||||||
padding: const EdgeInsets.fromLTRB(16.0, 0.0, 16.0, 16.0),
|
padding: const EdgeInsets.fromLTRB(16.0, 0.0, 16.0, 16.0),
|
||||||
child: Row(
|
child: Wrap(
|
||||||
children: [
|
children: [
|
||||||
RestorePurchaseButton(),
|
RestorePurchaseButton(),
|
||||||
OutlineButton(
|
OutlineButton(
|
||||||
@ -72,7 +72,8 @@ class _PurchaseScreenState extends State<PurchaseScreen> {
|
|||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
|
alignment: WrapAlignment.spaceEvenly,
|
||||||
|
direction: Axis.horizontal,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
Reference in New Issue
Block a user