miler map
This commit is contained in:
@@ -533,7 +533,7 @@ class _ProfilePageState extends State<ProfilePage> {
|
||||
Text(
|
||||
'·',
|
||||
style: MilerType.label.copyWith(
|
||||
fontWeight: FontWeight.w700,
|
||||
fontWeight: FontWeight.w800,
|
||||
color: ColorConstants.borderStrong,
|
||||
),
|
||||
),
|
||||
@@ -745,7 +745,7 @@ class _ProfilePageState extends State<ProfilePage> {
|
||||
'Retry',
|
||||
style: MilerType.micro
|
||||
.on(ColorConstants.primary)
|
||||
.copyWith(fontWeight: FontWeight.w700),
|
||||
.copyWith(fontWeight: FontWeight.w800),
|
||||
),
|
||||
),
|
||||
),
|
||||
|
||||
@@ -175,7 +175,7 @@ class _FaqPageState extends State<FaqPage> {
|
||||
onChanged: (v) => setState(() => _query = v),
|
||||
style: TextStyle(
|
||||
fontSize: 14.5.sp,
|
||||
fontWeight: FontWeight.w500,
|
||||
fontWeight: FontWeight.w600,
|
||||
color: ColorConstants.onSurface,
|
||||
fontFamily: FontConstants.fontFamily,
|
||||
),
|
||||
@@ -234,7 +234,7 @@ class _FaqPageState extends State<FaqPage> {
|
||||
textAlign: TextAlign.center,
|
||||
style: TextStyle(
|
||||
fontSize: 14.sp,
|
||||
fontWeight: FontWeight.w600,
|
||||
fontWeight: FontWeight.w700,
|
||||
color: ColorConstants.onSurface,
|
||||
fontFamily: FontConstants.fontFamily,
|
||||
),
|
||||
@@ -267,7 +267,7 @@ class _FaqPageState extends State<FaqPage> {
|
||||
'Still stuck?',
|
||||
style: TextStyle(
|
||||
fontSize: 15.sp,
|
||||
fontWeight: FontWeight.w600,
|
||||
fontWeight: FontWeight.w700,
|
||||
color: ColorConstants.onSurface,
|
||||
fontFamily: FontConstants.fontFamily,
|
||||
),
|
||||
@@ -331,7 +331,7 @@ class _FaqTileState extends State<_FaqTile> {
|
||||
widget.faq.question,
|
||||
style: TextStyle(
|
||||
fontSize: 14.5.sp,
|
||||
fontWeight: FontWeight.w500,
|
||||
fontWeight: FontWeight.w600,
|
||||
height: 1.35,
|
||||
color: ColorConstants.onSurface,
|
||||
fontFamily: FontConstants.fontFamily,
|
||||
|
||||
@@ -90,7 +90,7 @@ class HelpCenter extends StatelessWidget {
|
||||
'How can we help?',
|
||||
style: TextStyle(
|
||||
fontSize: 20.sp,
|
||||
fontWeight: FontWeight.w700,
|
||||
fontWeight: FontWeight.w800,
|
||||
letterSpacing: -0.4,
|
||||
color: ColorConstants.onSurface,
|
||||
fontFamily: FontConstants.fontFamily,
|
||||
@@ -220,7 +220,7 @@ class _HelpCenterMessageState extends State<HelpCenterMessage> {
|
||||
'What has happened?',
|
||||
style: TextStyle(
|
||||
fontSize: 16.sp,
|
||||
fontWeight: FontWeight.w700,
|
||||
fontWeight: FontWeight.w800,
|
||||
color: ColorConstants.onSurface,
|
||||
fontFamily: FontConstants.fontFamily,
|
||||
),
|
||||
@@ -282,7 +282,7 @@ class _HelpCenterMessageState extends State<HelpCenterMessage> {
|
||||
text,
|
||||
style: TextStyle(
|
||||
fontSize: 13.sp,
|
||||
fontWeight: FontWeight.w600,
|
||||
fontWeight: FontWeight.w700,
|
||||
color: ColorConstants.onSurface,
|
||||
fontFamily: FontConstants.fontFamily,
|
||||
),
|
||||
@@ -302,7 +302,7 @@ class _HelpCenterMessageState extends State<HelpCenterMessage> {
|
||||
validator: validator,
|
||||
style: TextStyle(
|
||||
fontSize: 14.5.sp,
|
||||
fontWeight: FontWeight.w500,
|
||||
fontWeight: FontWeight.w600,
|
||||
color: ColorConstants.onSurface,
|
||||
fontFamily: FontConstants.fontFamily,
|
||||
),
|
||||
|
||||
@@ -118,7 +118,7 @@ class _NotificationsPageState extends State<NotificationsPage> {
|
||||
'Clear notifications?',
|
||||
style: TextStyle(
|
||||
fontSize: 17.sp,
|
||||
fontWeight: FontWeight.w600,
|
||||
fontWeight: FontWeight.w700,
|
||||
color: ColorConstants.onSurface,
|
||||
fontFamily: FontConstants.fontFamily,
|
||||
),
|
||||
@@ -140,7 +140,7 @@ class _NotificationsPageState extends State<NotificationsPage> {
|
||||
'Cancel',
|
||||
style: TextStyle(
|
||||
color: ColorConstants.onSurfaceVariant,
|
||||
fontWeight: FontWeight.w500,
|
||||
fontWeight: FontWeight.w600,
|
||||
fontFamily: FontConstants.fontFamily,
|
||||
),
|
||||
),
|
||||
@@ -151,7 +151,7 @@ class _NotificationsPageState extends State<NotificationsPage> {
|
||||
'Clear',
|
||||
style: TextStyle(
|
||||
color: ColorConstants.primary,
|
||||
fontWeight: FontWeight.w600,
|
||||
fontWeight: FontWeight.w700,
|
||||
fontFamily: FontConstants.fontFamily,
|
||||
),
|
||||
),
|
||||
@@ -181,7 +181,7 @@ class _NotificationsPageState extends State<NotificationsPage> {
|
||||
'Clear',
|
||||
style: TextStyle(
|
||||
fontSize: 13.sp,
|
||||
fontWeight: FontWeight.w600,
|
||||
fontWeight: FontWeight.w700,
|
||||
color: ColorConstants.primary,
|
||||
fontFamily: FontConstants.fontFamily,
|
||||
),
|
||||
@@ -329,7 +329,7 @@ class _NotificationRow extends StatelessWidget {
|
||||
title,
|
||||
style: TextStyle(
|
||||
fontSize: 15.sp,
|
||||
fontWeight: FontWeight.w600,
|
||||
fontWeight: FontWeight.w700,
|
||||
height: 1.3,
|
||||
color: ColorConstants.onSurface,
|
||||
fontFamily: FontConstants.fontFamily,
|
||||
@@ -341,7 +341,7 @@ class _NotificationRow extends StatelessWidget {
|
||||
time,
|
||||
style: TextStyle(
|
||||
fontSize: 11.sp,
|
||||
fontWeight: FontWeight.w500,
|
||||
fontWeight: FontWeight.w600,
|
||||
color: ColorConstants.onSurfaceVariant,
|
||||
fontFamily: FontConstants.fontFamily,
|
||||
),
|
||||
|
||||
@@ -167,7 +167,7 @@ class _OrderAlertSoundPageState extends State<OrderAlertSoundPage> {
|
||||
_currentLabel,
|
||||
style: TextStyle(
|
||||
fontSize: 16.sp,
|
||||
fontWeight: FontWeight.w600,
|
||||
fontWeight: FontWeight.w700,
|
||||
color: ColorConstants.onSurface,
|
||||
fontFamily: FontConstants.fontFamily,
|
||||
),
|
||||
|
||||
@@ -155,7 +155,7 @@ class _ProfileState extends State<Profile> {
|
||||
'Change Photo',
|
||||
style: TextStyle(
|
||||
fontSize: 13.sp,
|
||||
fontWeight: FontWeight.w500,
|
||||
fontWeight: FontWeight.w600,
|
||||
color: ColorConstants.primary,
|
||||
fontFamily: FontConstants.fontFamily,
|
||||
),
|
||||
@@ -333,7 +333,7 @@ class _ProfileState extends State<Profile> {
|
||||
label,
|
||||
style: TextStyle(
|
||||
fontSize: 13.sp,
|
||||
fontWeight: FontWeight.w500,
|
||||
fontWeight: FontWeight.w600,
|
||||
color: ColorConstants.onSurface,
|
||||
letterSpacing: 0.2,
|
||||
fontFamily: FontConstants.fontFamily,
|
||||
@@ -347,7 +347,7 @@ class _ProfileState extends State<Profile> {
|
||||
keyboardType: keyboardType,
|
||||
style: TextStyle(
|
||||
fontSize: 15.sp,
|
||||
fontWeight: FontWeight.w500,
|
||||
fontWeight: FontWeight.w600,
|
||||
color: readOnly
|
||||
? ColorConstants.onSurfaceVariant
|
||||
: ColorConstants.onSurface,
|
||||
@@ -358,7 +358,7 @@ class _ProfileState extends State<Profile> {
|
||||
prefixText: prefix,
|
||||
prefixStyle: TextStyle(
|
||||
fontSize: 15.sp,
|
||||
fontWeight: FontWeight.w500,
|
||||
fontWeight: FontWeight.w600,
|
||||
color: ColorConstants.onSurface,
|
||||
fontFamily: FontConstants.fontFamily,
|
||||
),
|
||||
|
||||
@@ -177,7 +177,7 @@ class _RiderRewardsPageState extends State<RiderRewardsPage> {
|
||||
'${s.tier.label} status',
|
||||
style: TextStyle(
|
||||
fontSize: 18.sp,
|
||||
fontWeight: FontWeight.w700,
|
||||
fontWeight: FontWeight.w800,
|
||||
letterSpacing: -0.3,
|
||||
color: Colors.white,
|
||||
fontFamily: FontConstants.fontFamily,
|
||||
@@ -189,7 +189,7 @@ class _RiderRewardsPageState extends State<RiderRewardsPage> {
|
||||
'$daysLeft ${daysLeft == 1 ? 'day' : 'days'} left',
|
||||
style: TextStyle(
|
||||
fontSize: 12.sp,
|
||||
fontWeight: FontWeight.w500,
|
||||
fontWeight: FontWeight.w600,
|
||||
color: Colors.white.withValues(alpha: 0.78),
|
||||
fontFamily: FontConstants.fontFamily,
|
||||
),
|
||||
@@ -205,7 +205,7 @@ class _RiderRewardsPageState extends State<RiderRewardsPage> {
|
||||
loading ? '—' : '${s.points}',
|
||||
style: TextStyle(
|
||||
fontSize: 30.sp,
|
||||
fontWeight: FontWeight.w800,
|
||||
fontWeight: FontWeight.w900,
|
||||
letterSpacing: -1,
|
||||
height: 1,
|
||||
color: Colors.white,
|
||||
@@ -217,7 +217,7 @@ class _RiderRewardsPageState extends State<RiderRewardsPage> {
|
||||
'points',
|
||||
style: TextStyle(
|
||||
fontSize: 11.sp,
|
||||
fontWeight: FontWeight.w600,
|
||||
fontWeight: FontWeight.w700,
|
||||
letterSpacing: 0.4,
|
||||
color: Colors.white.withValues(alpha: 0.78),
|
||||
fontFamily: FontConstants.fontFamily,
|
||||
@@ -244,7 +244,7 @@ class _RiderRewardsPageState extends State<RiderRewardsPage> {
|
||||
'${s.nextTier!.label}',
|
||||
style: TextStyle(
|
||||
fontSize: 13.sp,
|
||||
fontWeight: FontWeight.w600,
|
||||
fontWeight: FontWeight.w700,
|
||||
color: Colors.white,
|
||||
fontFamily: FontConstants.fontFamily,
|
||||
),
|
||||
@@ -297,8 +297,8 @@ class _RiderRewardsPageState extends State<RiderRewardsPage> {
|
||||
style: TextStyle(
|
||||
fontSize: 10.5.sp,
|
||||
fontWeight: tier == s.tier
|
||||
? FontWeight.w700
|
||||
: FontWeight.w500,
|
||||
? FontWeight.w800
|
||||
: FontWeight.w600,
|
||||
color: tier == s.tier
|
||||
? ColorConstants.primary
|
||||
: ColorConstants.secondaryText,
|
||||
@@ -309,7 +309,7 @@ class _RiderRewardsPageState extends State<RiderRewardsPage> {
|
||||
'${tier.threshold}',
|
||||
style: TextStyle(
|
||||
fontSize: 9.5.sp,
|
||||
fontWeight: FontWeight.w600,
|
||||
fontWeight: FontWeight.w700,
|
||||
color: ColorConstants.secondaryText,
|
||||
fontFamily: FontConstants.fontFamily,
|
||||
),
|
||||
@@ -404,7 +404,7 @@ class _RiderRewardsPageState extends State<RiderRewardsPage> {
|
||||
'cleared both checks',
|
||||
style: TextStyle(
|
||||
fontSize: 12.5.sp,
|
||||
fontWeight: FontWeight.w600,
|
||||
fontWeight: FontWeight.w700,
|
||||
color: ColorConstants.slateText,
|
||||
fontFamily: FontConstants.fontFamily,
|
||||
),
|
||||
@@ -447,7 +447,7 @@ class _RiderRewardsPageState extends State<RiderRewardsPage> {
|
||||
style: TextStyle(
|
||||
fontSize: 11.5.sp,
|
||||
height: 1.4,
|
||||
fontWeight: FontWeight.w500,
|
||||
fontWeight: FontWeight.w600,
|
||||
color: ColorConstants.secondaryText,
|
||||
fontFamily: FontConstants.fontFamily,
|
||||
),
|
||||
@@ -539,7 +539,7 @@ class _RiderRewardsPageState extends State<RiderRewardsPage> {
|
||||
style: TextStyle(
|
||||
fontSize: 11.5.sp,
|
||||
height: 1.45,
|
||||
fontWeight: FontWeight.w500,
|
||||
fontWeight: FontWeight.w600,
|
||||
color: ColorConstants.secondaryText,
|
||||
fontFamily: FontConstants.fontFamily,
|
||||
),
|
||||
@@ -555,7 +555,7 @@ class _RiderRewardsPageState extends State<RiderRewardsPage> {
|
||||
text,
|
||||
style: TextStyle(
|
||||
fontSize: 11.sp,
|
||||
fontWeight: FontWeight.w700,
|
||||
fontWeight: FontWeight.w800,
|
||||
letterSpacing: 0.8,
|
||||
color: ColorConstants.secondaryText,
|
||||
fontFamily: FontConstants.fontFamily,
|
||||
@@ -565,7 +565,7 @@ class _RiderRewardsPageState extends State<RiderRewardsPage> {
|
||||
TextStyle get _bodyStyle => TextStyle(
|
||||
fontSize: 12.5.sp,
|
||||
height: 1.45,
|
||||
fontWeight: FontWeight.w500,
|
||||
fontWeight: FontWeight.w600,
|
||||
color: ColorConstants.secondaryText,
|
||||
fontFamily: FontConstants.fontFamily,
|
||||
);
|
||||
@@ -627,7 +627,7 @@ class _RiderRewardsPageState extends State<RiderRewardsPage> {
|
||||
'$score%',
|
||||
style: TextStyle(
|
||||
fontSize: 18.sp,
|
||||
fontWeight: FontWeight.w800,
|
||||
fontWeight: FontWeight.w900,
|
||||
letterSpacing: -0.5,
|
||||
height: 1,
|
||||
color: accent,
|
||||
@@ -639,7 +639,7 @@ class _RiderRewardsPageState extends State<RiderRewardsPage> {
|
||||
'SCORE',
|
||||
style: TextStyle(
|
||||
fontSize: 8.sp,
|
||||
fontWeight: FontWeight.w700,
|
||||
fontWeight: FontWeight.w800,
|
||||
letterSpacing: 0.6,
|
||||
height: 1,
|
||||
color: accent,
|
||||
@@ -670,7 +670,7 @@ class _RiderRewardsPageState extends State<RiderRewardsPage> {
|
||||
overflow: TextOverflow.ellipsis,
|
||||
style: TextStyle(
|
||||
fontSize: 15.sp,
|
||||
fontWeight: FontWeight.w700,
|
||||
fontWeight: FontWeight.w800,
|
||||
letterSpacing: -0.3,
|
||||
color: ColorConstants.slateText,
|
||||
fontFamily: FontConstants.fontFamily,
|
||||
@@ -687,7 +687,7 @@ class _RiderRewardsPageState extends State<RiderRewardsPage> {
|
||||
style: TextStyle(
|
||||
fontSize: 11.5.sp,
|
||||
height: 1.35,
|
||||
fontWeight: FontWeight.w500,
|
||||
fontWeight: FontWeight.w600,
|
||||
color: ColorConstants.secondaryText,
|
||||
fontFamily: FontConstants.fontFamily,
|
||||
),
|
||||
@@ -728,7 +728,7 @@ class _RiderRewardsPageState extends State<RiderRewardsPage> {
|
||||
overflow: TextOverflow.ellipsis,
|
||||
style: TextStyle(
|
||||
fontSize: 13.sp,
|
||||
fontWeight: FontWeight.w600,
|
||||
fontWeight: FontWeight.w700,
|
||||
color: ColorConstants.slateText,
|
||||
fontFamily: FontConstants.fontFamily,
|
||||
),
|
||||
@@ -739,7 +739,7 @@ class _RiderRewardsPageState extends State<RiderRewardsPage> {
|
||||
'$hit/$total · $percent%',
|
||||
style: TextStyle(
|
||||
fontSize: 12.5.sp,
|
||||
fontWeight: FontWeight.w700,
|
||||
fontWeight: FontWeight.w800,
|
||||
letterSpacing: -0.2,
|
||||
color: accent,
|
||||
fontFamily: FontConstants.fontFamily,
|
||||
@@ -810,7 +810,7 @@ class _RiderRewardsPageState extends State<RiderRewardsPage> {
|
||||
title,
|
||||
style: TextStyle(
|
||||
fontSize: 13.5.sp,
|
||||
fontWeight: FontWeight.w700,
|
||||
fontWeight: FontWeight.w800,
|
||||
letterSpacing: -0.2,
|
||||
color: ColorConstants.slateText,
|
||||
fontFamily: FontConstants.fontFamily,
|
||||
|
||||
@@ -117,7 +117,7 @@ class _SavedAddressPageState extends State<SavedAddressPage> {
|
||||
'Edit',
|
||||
style: TextStyle(
|
||||
fontSize: 13.sp,
|
||||
fontWeight: FontWeight.w600,
|
||||
fontWeight: FontWeight.w700,
|
||||
color: ColorConstants.primary,
|
||||
fontFamily: FontConstants.fontFamily,
|
||||
),
|
||||
@@ -187,7 +187,7 @@ class _SavedAddressPageState extends State<SavedAddressPage> {
|
||||
'Home address',
|
||||
style: TextStyle(
|
||||
fontSize: 15.sp,
|
||||
fontWeight: FontWeight.w600,
|
||||
fontWeight: FontWeight.w700,
|
||||
color: ColorConstants.onSurface,
|
||||
fontFamily: FontConstants.fontFamily,
|
||||
),
|
||||
@@ -233,7 +233,7 @@ class _SavedAddressPageState extends State<SavedAddressPage> {
|
||||
'Home address',
|
||||
style: TextStyle(
|
||||
fontSize: 13.sp,
|
||||
fontWeight: FontWeight.w600,
|
||||
fontWeight: FontWeight.w700,
|
||||
color: ColorConstants.onSurface,
|
||||
fontFamily: FontConstants.fontFamily,
|
||||
),
|
||||
@@ -249,7 +249,7 @@ class _SavedAddressPageState extends State<SavedAddressPage> {
|
||||
style: TextStyle(
|
||||
fontSize: 15.sp,
|
||||
height: 1.45,
|
||||
fontWeight: FontWeight.w500,
|
||||
fontWeight: FontWeight.w600,
|
||||
color: ColorConstants.onSurface,
|
||||
fontFamily: FontConstants.fontFamily,
|
||||
),
|
||||
@@ -298,7 +298,7 @@ class _SavedAddressPageState extends State<SavedAddressPage> {
|
||||
'Cancel',
|
||||
style: TextStyle(
|
||||
fontSize: 13.sp,
|
||||
fontWeight: FontWeight.w500,
|
||||
fontWeight: FontWeight.w600,
|
||||
color: ColorConstants.onSurfaceVariant,
|
||||
fontFamily: FontConstants.fontFamily,
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user