Commit b5ac2c45bbd9d1f515a55da7225ca397d494edf7

Authored by 常守达
1 parent 5894b595

fix(today):字体对齐

import 'package:doublefeel_flutter/app/routes/app_pages.dart';
import 'package:doublefeel_flutter/core/theme/app_theme.dart';
import 'package:doublefeel_flutter/l10n/l10n_extensions.dart';
import 'package:flutter/gestures.dart';
import 'package:flutter/material.dart';
import 'package:get/get.dart';
... ... @@ -223,7 +224,6 @@ class _InfoText extends StatelessWidget {
style: TextStyle(
color: context.colors.textSecondary,
fontSize: 12,
height: 17 / 12,
fontWeight: FontWeight.w400,
),
),
... ... @@ -243,25 +243,28 @@ class _ContactText extends StatelessWidget {
style: TextStyle(
color: context.colors.textSecondary,
fontSize: 12,
height: 17 / 12,
fontWeight: FontWeight.w400,
),
children: [
TextSpan(text: l10n.todayFaqContactPrefix),
WidgetSpan(
child: GestureDetector(
onTap: () {
TextSpan(
text: l10n.todayFaqContactPrefix,
style: TextStyle(
color: context.colors.textSecondary,
fontSize: 12,
fontWeight: FontWeight.w400,
),
),
TextSpan(
text: l10n.todayFaqContactAction,
recognizer: TapGestureRecognizer()
..onTap = () {
Get.toNamed(Routes.SUBMIT_FEEDBACK);
},
child: Text(
l10n.todayFaqContactAction,
style: TextStyle(
fontSize: 12,
color: context.colors.primary,
fontWeight: FontWeight.w600,
decoration: TextDecoration.underline,
),
),
style: TextStyle(
fontSize: 12,
color: context.colors.primary,
fontWeight: FontWeight.w400,
decoration: TextDecoration.underline,
),
),
TextSpan(text: l10n.todayFaqContactSuffix),
... ...