|
|
@ -111,8 +111,8 @@ class KmBadge extends StatelessWidget { |
|
|
|
value.toString(), |
|
|
|
value.toString(), |
|
|
|
style: CupertinoTheme.of(context).textTheme.textStyle.copyWith( |
|
|
|
style: CupertinoTheme.of(context).textTheme.textStyle.copyWith( |
|
|
|
fontSize: 18, |
|
|
|
fontSize: 18, |
|
|
|
fontWeight: FontWeight.w100, |
|
|
|
fontWeight: MediaQuery.of(context).boldText ? FontWeight.w400 : FontWeight.w200, |
|
|
|
color: foregroundColor |
|
|
|
color: MediaQuery.of(context).boldText ? FOREGROUND_WHITE : foregroundColor, |
|
|
|
), |
|
|
|
), |
|
|
|
textAlign: TextAlign.center, |
|
|
|
textAlign: TextAlign.center, |
|
|
|
); |
|
|
|
); |
|
|
@ -124,7 +124,7 @@ class KmBadge extends StatelessWidget { |
|
|
|
"km", |
|
|
|
"km", |
|
|
|
style: CupertinoTheme.of(context).textTheme.textStyle.copyWith( |
|
|
|
style: CupertinoTheme.of(context).textTheme.textStyle.copyWith( |
|
|
|
fontSize: 10, |
|
|
|
fontSize: 10, |
|
|
|
color: foregroundColor, |
|
|
|
color: MediaQuery.of(context).boldText ? FOREGROUND_WHITE : foregroundColor, |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
], |
|
|
|
], |
|
|
@ -153,7 +153,7 @@ class Title extends StatelessWidget { |
|
|
|
items[0], |
|
|
|
items[0], |
|
|
|
style: CupertinoTheme.of(context).textTheme.textStyle.copyWith( |
|
|
|
style: CupertinoTheme.of(context).textTheme.textStyle.copyWith( |
|
|
|
fontSize: 22, |
|
|
|
fontSize: 22, |
|
|
|
fontWeight: FontWeight.w100, |
|
|
|
fontWeight: MediaQuery.of(context).boldText ? FontWeight.w400 : FontWeight.w200, |
|
|
|
fontStyle: items[1] == "ONI" ? FontStyle.italic : FontStyle.normal, |
|
|
|
fontStyle: items[1] == "ONI" ? FontStyle.italic : FontStyle.normal, |
|
|
|
), |
|
|
|
), |
|
|
|
textAlign: TextAlign.center, |
|
|
|
textAlign: TextAlign.center, |
|
|
|