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

Details page transactions

parent b5e1ae8b
No related branches found
No related tags found
No related merge requests found
...@@ -30,13 +30,14 @@ class _DetailsViewState extends State<DetailsView> { ...@@ -30,13 +30,14 @@ class _DetailsViewState extends State<DetailsView> {
mainAxisAlignment: MainAxisAlignment.start, mainAxisAlignment: MainAxisAlignment.start,
crossAxisAlignment: CrossAxisAlignment.start, crossAxisAlignment: CrossAxisAlignment.start,
children: <Widget>[ children: <Widget>[
Text( const Text(
'Datails chart', 'Datails chart',
style: TextStyle( style: TextStyle(
fontSize: 14.0, fontSize: 14.0,
fontWeight: FontWeight.bold fontWeight: FontWeight.bold
), ),
), ),
const SizedBox(height: 20.0),
Center( Center(
child : SizedBox( child : SizedBox(
width: 400, width: 400,
...@@ -104,6 +105,11 @@ class _DetailsViewState extends State<DetailsView> { ...@@ -104,6 +105,11 @@ class _DetailsViewState extends State<DetailsView> {
colors: gradientColors colors: gradientColors
), ),
barWidth: 5, barWidth: 5,
isStrokeCapRound: true,
dotData: FlDotData(
show: true
),
belowBarData: BarAreaData( belowBarData: BarAreaData(
show : true, show : true,
gradient: LinearGradient( gradient: LinearGradient(
...@@ -114,11 +120,24 @@ class _DetailsViewState extends State<DetailsView> { ...@@ -114,11 +120,24 @@ 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.
Finish editing this message first!
Please register or to comment