mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-23 03:05:11 +00:00
Fixes mergina and peddings for actions button on dashboard screen
This commit is contained in:
parent
9c1f726c43
commit
dcbaf01118
2 changed files with 12 additions and 21 deletions
|
@ -103,28 +103,21 @@ class DashboardPage extends BasePage {
|
||||||
activeDotColor: Colors.white),
|
activeDotColor: Colors.white),
|
||||||
)),
|
)),
|
||||||
Container(
|
Container(
|
||||||
width: double.infinity,
|
padding: EdgeInsets.only(left: 45, right: 45, bottom: 24),
|
||||||
padding: EdgeInsets.only(
|
|
||||||
left: 45,
|
|
||||||
right: 45,
|
|
||||||
bottom: 24
|
|
||||||
),
|
|
||||||
child: Row(
|
child: Row(
|
||||||
|
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
Flexible(
|
ActionButton(
|
||||||
child: ActionButton(
|
image: sendImage,
|
||||||
image: sendImage,
|
title: S.of(context).send,
|
||||||
title: S.of(context).send,
|
route: Routes.send,
|
||||||
route: Routes.send,
|
alignment: Alignment.centerLeft,
|
||||||
alignment: Alignment.centerLeft,
|
|
||||||
),
|
|
||||||
),
|
),
|
||||||
Flexible(
|
ActionButton(
|
||||||
child: ActionButton(
|
image: sendImage,
|
||||||
image: exchangeImage,
|
title: S.of(context).send,
|
||||||
title: S.of(context).exchange,
|
route: Routes.send,
|
||||||
route: Routes.exchange
|
alignment: Alignment.centerLeft,
|
||||||
),
|
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
|
|
@ -15,8 +15,6 @@ class ActionButton extends StatelessWidget {
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Container(
|
return Container(
|
||||||
width: double.infinity,
|
|
||||||
height: 93,
|
|
||||||
alignment: alignment,
|
alignment: alignment,
|
||||||
child: Column(
|
child: Column(
|
||||||
mainAxisSize: MainAxisSize.max,
|
mainAxisSize: MainAxisSize.max,
|
||||||
|
|
Loading…
Reference in a new issue