Cleaner way of formatting the month values
This commit is contained in:
parent
69e0da8b1e
commit
0eafda1430
1 changed files with 10 additions and 2 deletions
|
@ -34,10 +34,18 @@ class MonthValuesPage extends StatelessWidget {
|
|||
return TableRow(
|
||||
children: [
|
||||
TableCell(
|
||||
child: Text(month.key, style: monthTableRowTextStyle, textAlign: TextAlign.right)
|
||||
child: Text(
|
||||
month.key,
|
||||
style: monthTableRowTextStyle,
|
||||
textAlign: TextAlign.right
|
||||
)
|
||||
),
|
||||
TableCell(
|
||||
child: Center(child: Text(month.value.toString(), style: monthTableRowTextStyle))
|
||||
child: Text(
|
||||
month.value.toString(),
|
||||
style: monthTableRowTextStyle,
|
||||
textAlign: TextAlign.center
|
||||
)
|
||||
)
|
||||
]
|
||||
);
|
||||
|
|
Loading…
Add table
Reference in a new issue