diff --git a/lib/pages/report.dart b/lib/pages/report.dart index 483a9d3..9c61daa 100644 --- a/lib/pages/report.dart +++ b/lib/pages/report.dart @@ -112,27 +112,41 @@ class SummaryCard extends StatelessWidget { @override Widget build(BuildContext context) { return Card( + color: Theme.of(context).cardColor, child: Padding( padding: const EdgeInsets.all(8.0), - child: Column( - children: [ - Row( - children: [ - Text(leftText), - Spacer(), - Center( - child: Column( - children: [ - Text(name), - Text(middleText), - ], - ), + child: Card( + color: Theme.of(context).highlightColor, + child: Column( + children: [ + Text( + name, + style: TextStyle( + decoration: TextDecoration.underline, + fontSize: 16 ), - Spacer(), - Text(rightText), - ], - ), - ], + ), + Row( + children: [ + Spacer( + flex: 3, + ), + Text(leftText), + Spacer( + flex: 1, + ), + Text(middleText), + Spacer( + flex: 1, + ), + Text(rightText), + Spacer( + flex: 3, + ), + ], + ), + ], + ), ), ), );