mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-11 13:14:32 +00:00
rearrange buy order invoice page and update text
This commit is contained in:
parent
f38d5590a0
commit
4b145edd7f
1 changed files with 62 additions and 62 deletions
|
@ -42,7 +42,7 @@ class _BuyOrderInvoiceViewState extends State<BuyOrderInvoiceView> {
|
||||||
Theme.of(context).extension<StackColors>()!.backgroundAppBar,
|
Theme.of(context).extension<StackColors>()!.backgroundAppBar,
|
||||||
leading: const AppBarBackButton(),
|
leading: const AppBarBackButton(),
|
||||||
title: Text(
|
title: Text(
|
||||||
"Order invoice",
|
"Order details",
|
||||||
style: STextStyles.navBarTitle(context),
|
style: STextStyles.navBarTitle(context),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
@ -77,12 +77,72 @@ class _BuyOrderInvoiceViewState extends State<BuyOrderInvoiceView> {
|
||||||
crossAxisAlignment: CrossAxisAlignment.stretch,
|
crossAxisAlignment: CrossAxisAlignment.stretch,
|
||||||
children: [
|
children: [
|
||||||
Text(
|
Text(
|
||||||
"Simplex Order",
|
"Simplex order",
|
||||||
style: STextStyles.pageTitleH1(context),
|
style: STextStyles.pageTitleH1(context),
|
||||||
),
|
),
|
||||||
const SizedBox(
|
const SizedBox(
|
||||||
height: 16,
|
height: 16,
|
||||||
),
|
),
|
||||||
|
RoundedWhiteContainer(
|
||||||
|
child: Row(
|
||||||
|
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||||
|
children: [
|
||||||
|
Text(
|
||||||
|
"Purchase ID",
|
||||||
|
style: STextStyles.label(context),
|
||||||
|
),
|
||||||
|
Text(
|
||||||
|
widget.order.paymentId,
|
||||||
|
style: STextStyles.label(context).copyWith(
|
||||||
|
color: Theme.of(context).extension<StackColors>()!.textDark,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
),
|
||||||
|
const SizedBox(
|
||||||
|
height: 8,
|
||||||
|
),
|
||||||
|
RoundedWhiteContainer(
|
||||||
|
child: Row(
|
||||||
|
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||||
|
children: [
|
||||||
|
Text(
|
||||||
|
"User ID",
|
||||||
|
style: STextStyles.label(context),
|
||||||
|
),
|
||||||
|
Text(
|
||||||
|
widget.order.userId,
|
||||||
|
style: STextStyles.label(context).copyWith(
|
||||||
|
color: Theme.of(context).extension<StackColors>()!.textDark,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
),
|
||||||
|
const SizedBox(
|
||||||
|
height: 8,
|
||||||
|
),
|
||||||
|
RoundedWhiteContainer(
|
||||||
|
child: Row(
|
||||||
|
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||||
|
children: [
|
||||||
|
Text(
|
||||||
|
"Quote ID",
|
||||||
|
style: STextStyles.label(context),
|
||||||
|
),
|
||||||
|
Text(
|
||||||
|
widget.order.quote.id,
|
||||||
|
style: STextStyles.label(context).copyWith(
|
||||||
|
color: Theme.of(context).extension<StackColors>()!.textDark,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
),
|
||||||
|
const SizedBox(
|
||||||
|
height: 8,
|
||||||
|
),
|
||||||
RoundedWhiteContainer(
|
RoundedWhiteContainer(
|
||||||
child: Row(
|
child: Row(
|
||||||
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||||
|
@ -163,66 +223,6 @@ class _BuyOrderInvoiceViewState extends State<BuyOrderInvoiceView> {
|
||||||
const SizedBox(
|
const SizedBox(
|
||||||
height: 8,
|
height: 8,
|
||||||
),
|
),
|
||||||
RoundedWhiteContainer(
|
|
||||||
child: Row(
|
|
||||||
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
|
||||||
children: [
|
|
||||||
Text(
|
|
||||||
"Quote ID",
|
|
||||||
style: STextStyles.label(context),
|
|
||||||
),
|
|
||||||
Text(
|
|
||||||
widget.order.quote.id,
|
|
||||||
style: STextStyles.label(context).copyWith(
|
|
||||||
color: Theme.of(context).extension<StackColors>()!.textDark,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
],
|
|
||||||
),
|
|
||||||
),
|
|
||||||
const SizedBox(
|
|
||||||
height: 8,
|
|
||||||
),
|
|
||||||
RoundedWhiteContainer(
|
|
||||||
child: Row(
|
|
||||||
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
|
||||||
children: [
|
|
||||||
Text(
|
|
||||||
"Purchase ID",
|
|
||||||
style: STextStyles.label(context),
|
|
||||||
),
|
|
||||||
Text(
|
|
||||||
widget.order.paymentId,
|
|
||||||
style: STextStyles.label(context).copyWith(
|
|
||||||
color: Theme.of(context).extension<StackColors>()!.textDark,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
],
|
|
||||||
),
|
|
||||||
),
|
|
||||||
const SizedBox(
|
|
||||||
height: 8,
|
|
||||||
),
|
|
||||||
RoundedWhiteContainer(
|
|
||||||
child: Row(
|
|
||||||
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
|
||||||
children: [
|
|
||||||
Text(
|
|
||||||
"User ID",
|
|
||||||
style: STextStyles.label(context),
|
|
||||||
),
|
|
||||||
Text(
|
|
||||||
widget.order.userId,
|
|
||||||
style: STextStyles.label(context).copyWith(
|
|
||||||
color: Theme.of(context).extension<StackColors>()!.textDark,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
],
|
|
||||||
),
|
|
||||||
),
|
|
||||||
const SizedBox(
|
|
||||||
height: 8,
|
|
||||||
),
|
|
||||||
RoundedWhiteContainer(
|
RoundedWhiteContainer(
|
||||||
child: Row(
|
child: Row(
|
||||||
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||||
|
|
Loading…
Reference in a new issue