mirror of
https://github.com/hamaluik/timecop.git
synced 2025-08-23 22:54:44 +08:00
TextScaler instead of textScaleFactor
This commit is contained in:
@ -136,7 +136,7 @@ class _GroupedStoppedTimersRowWideState
|
|||||||
offset: const Offset(2, -4),
|
offset: const Offset(2, -4),
|
||||||
child: Text(
|
child: Text(
|
||||||
"+${widget.totalDuration.inDays}",
|
"+${widget.totalDuration.inDays}",
|
||||||
textScaleFactor: 0.8,
|
textScaler: const TextScaler.linear(0.8),
|
||||||
style: timeSpanStyle,
|
style: timeSpanStyle,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
@ -105,7 +105,7 @@ class StoppedTimerRowWide extends StatelessWidget {
|
|||||||
offset: const Offset(2, -4),
|
offset: const Offset(2, -4),
|
||||||
child: Text(
|
child: Text(
|
||||||
"+${duration.inDays}",
|
"+${duration.inDays}",
|
||||||
textScaleFactor: 0.8,
|
textScaler: const TextScaler.linear(0.8),
|
||||||
style: timeSpanStyle,
|
style: timeSpanStyle,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
Reference in New Issue
Block a user