mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-12-24 12:29:37 +00:00
update wallet_navigation_bar for buy and paynyms
TODO test mobile
This commit is contained in:
parent
ab1ff2604a
commit
9bfdfc01e4
1 changed files with 37 additions and 41 deletions
|
@ -412,51 +412,47 @@ class _WalletNavigationBarState extends State<WalletNavigationBar> {
|
||||||
const SizedBox(
|
const SizedBox(
|
||||||
width: 12,
|
width: 12,
|
||||||
),
|
),
|
||||||
),
|
RawMaterialButton(
|
||||||
RawMaterialButton(
|
constraints: const BoxConstraints(
|
||||||
constraints: const BoxConstraints(
|
minWidth: 66,
|
||||||
minWidth: 66,
|
),
|
||||||
),
|
onPressed: widget.onBuyPressed,
|
||||||
onPressed: onExchangePressed,
|
splashColor:
|
||||||
splashColor:
|
Theme.of(context).extension<StackColors>()!.highlight,
|
||||||
Theme.of(context).extension<StackColors>()!.highlight,
|
shape: RoundedRectangleBorder(
|
||||||
shape: RoundedRectangleBorder(
|
borderRadius: BorderRadius.circular(
|
||||||
borderRadius: BorderRadius.circular(
|
widget.height / 2.0,
|
||||||
height / 2.0,
|
),
|
||||||
),
|
),
|
||||||
),
|
child: Container(
|
||||||
child: Container(
|
color: Colors.transparent,
|
||||||
color: Colors.transparent,
|
child: Padding(
|
||||||
child: Padding(
|
padding: const EdgeInsets.symmetric(vertical: 2.0),
|
||||||
padding: const EdgeInsets.symmetric(vertical: 2.0),
|
child: Column(
|
||||||
child: Column(
|
crossAxisAlignment: CrossAxisAlignment.center,
|
||||||
crossAxisAlignment: CrossAxisAlignment.center,
|
children: [
|
||||||
children: [
|
const Spacer(),
|
||||||
const Spacer(),
|
SvgPicture.asset(
|
||||||
SvgPicture.asset(
|
Assets.svg.buyDesktop,
|
||||||
// Assets.svg.exchange(context),
|
width: 24,
|
||||||
// TODO change icon
|
height: 24,
|
||||||
Assets.svg.buyDesktop,
|
),
|
||||||
width: 24,
|
const SizedBox(
|
||||||
height: 24,
|
height: 4,
|
||||||
|
),
|
||||||
|
Text(
|
||||||
|
"Buy",
|
||||||
|
style: STextStyles.buttonSmall(context),
|
||||||
|
),
|
||||||
|
const Spacer(),
|
||||||
|
],
|
||||||
),
|
),
|
||||||
const SizedBox(
|
),
|
||||||
height: 4,
|
|
||||||
),
|
|
||||||
Text(
|
|
||||||
"Buy",
|
|
||||||
style: STextStyles.buttonSmall(context),
|
|
||||||
),
|
|
||||||
const Spacer(),
|
|
||||||
],
|
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
],
|
||||||
),
|
),
|
||||||
const SizedBox(
|
),
|
||||||
width: 12,
|
|
||||||
),
|
|
||||||
],
|
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue