Skip to content
Snippets Groups Projects
Commit 0d5ef691 authored by MichelleKehl's avatar MichelleKehl
Browse files

Details page transactions

parent b5e1ae8b
Branches
No related tags found
No related merge requests found
......@@ -30,13 +30,14 @@ class _DetailsViewState extends State<DetailsView> {
mainAxisAlignment: MainAxisAlignment.start,
crossAxisAlignment: CrossAxisAlignment.start,
children: <Widget>[
Text(
const Text(
'Datails chart',
style: TextStyle(
fontSize: 14.0,
fontWeight: FontWeight.bold
),
),
const SizedBox(height: 20.0),
Center(
child : SizedBox(
width: 400,
......@@ -104,6 +105,11 @@ class _DetailsViewState extends State<DetailsView> {
colors: gradientColors
),
barWidth: 5,
isStrokeCapRound: true,
dotData: FlDotData(
show: true
),
belowBarData: BarAreaData(
show : true,
gradient: LinearGradient(
......@@ -116,9 +122,22 @@ class _DetailsViewState extends State<DetailsView> {
)
),
)
)
],
),
const SizedBox(height: 20.0),
const Text(
'Transactions',
style: TextStyle(
fontSize: 14.0,
fontWeight: FontWeight.bold
),
),
const SizedBox(height: 5.0),
TransactionListtile(transaction: trn),
TransactionListtile(transaction: trn),
TransactionListtile(transaction: trn),
TransactionListtile(transaction: trp),
TransactionListtile(transaction: trn),
]
),
);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment