mirror of
https://github.com/hamaluik/timecop.git
synced 2025-07-03 03:43:15 +08:00
Merge pull request #131 from srn08/text-cutoff
Fixed LineChart Text Cutoff
This commit is contained in:
@ -168,10 +168,10 @@ class _WeeklyTotalsState extends State<WeeklyTotals> {
|
|||||||
int week = dweek.toInt();
|
int week = dweek.toInt();
|
||||||
DateTime date =
|
DateTime date =
|
||||||
firstDate!.add(Duration(days: week * 7));
|
firstDate!.add(Duration(days: week * 7));
|
||||||
return Padding(
|
return Container(
|
||||||
padding: const EdgeInsets.all(2.0),
|
padding: const EdgeInsets.only(top: 5),
|
||||||
child: Text(
|
child: Text(
|
||||||
dateFormat.format(date).replaceAll(' ', '\n'),
|
dateFormat.format(date),
|
||||||
style: theme.textTheme.bodySmall,
|
style: theme.textTheme.bodySmall,
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user