|
|
|
|
@ -178,47 +178,45 @@ class MarathonFooter extends StatelessWidget {
|
|
|
|
|
}) : super(key: key);
|
|
|
|
|
|
|
|
|
|
Widget buildNoteForDemo() {
|
|
|
|
|
return Flexible(
|
|
|
|
|
child: RichText(
|
|
|
|
|
text: TextSpan(
|
|
|
|
|
children: <InlineSpan>[
|
|
|
|
|
TextSpan(
|
|
|
|
|
text: LocaleKeys.note.tr(),
|
|
|
|
|
style: const TextStyle(
|
|
|
|
|
color: MyColors.darkTextColor,
|
|
|
|
|
fontSize: 17,
|
|
|
|
|
letterSpacing: -0.64,
|
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
|
),
|
|
|
|
|
return RichText(
|
|
|
|
|
text: TextSpan(
|
|
|
|
|
children: <InlineSpan>[
|
|
|
|
|
TextSpan(
|
|
|
|
|
text: LocaleKeys.note.tr(),
|
|
|
|
|
style: const TextStyle(
|
|
|
|
|
color: MyColors.darkTextColor,
|
|
|
|
|
fontSize: 17,
|
|
|
|
|
letterSpacing: -0.64,
|
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
|
),
|
|
|
|
|
TextSpan(
|
|
|
|
|
text: " " + LocaleKeys.demoMarathonNoteP1.tr(),
|
|
|
|
|
style: const TextStyle(
|
|
|
|
|
color: MyColors.grey77Color,
|
|
|
|
|
fontSize: 17,
|
|
|
|
|
letterSpacing: -0.64,
|
|
|
|
|
fontWeight: FontWeight.w500,
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
TextSpan(
|
|
|
|
|
text: " " + LocaleKeys.demoMarathonNoteP1.tr(),
|
|
|
|
|
style: const TextStyle(
|
|
|
|
|
color: MyColors.grey77Color,
|
|
|
|
|
fontSize: 17,
|
|
|
|
|
letterSpacing: -0.64,
|
|
|
|
|
fontWeight: FontWeight.w500,
|
|
|
|
|
),
|
|
|
|
|
TextSpan(
|
|
|
|
|
text: " " + LocaleKeys.demoMarathonNoteP2.tr(),
|
|
|
|
|
style: const TextStyle(
|
|
|
|
|
color: MyColors.darkTextColor,
|
|
|
|
|
fontSize: 17,
|
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
TextSpan(
|
|
|
|
|
text: " " + LocaleKeys.demoMarathonNoteP2.tr(),
|
|
|
|
|
style: const TextStyle(
|
|
|
|
|
color: MyColors.darkTextColor,
|
|
|
|
|
fontSize: 17,
|
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
|
),
|
|
|
|
|
TextSpan(
|
|
|
|
|
text: " " + LocaleKeys.demoMarathonNoteP3.tr(),
|
|
|
|
|
style: const TextStyle(
|
|
|
|
|
color: MyColors.grey77Color,
|
|
|
|
|
fontSize: 17,
|
|
|
|
|
letterSpacing: -0.64,
|
|
|
|
|
fontWeight: FontWeight.w500,
|
|
|
|
|
),
|
|
|
|
|
)
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
TextSpan(
|
|
|
|
|
text: " " + LocaleKeys.demoMarathonNoteP3.tr(),
|
|
|
|
|
style: const TextStyle(
|
|
|
|
|
color: MyColors.grey77Color,
|
|
|
|
|
fontSize: 17,
|
|
|
|
|
letterSpacing: -0.64,
|
|
|
|
|
fontWeight: FontWeight.w500,
|
|
|
|
|
),
|
|
|
|
|
)
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
).paddingOnly(right: 21, left: 21, top: 11, bottom: 0);
|
|
|
|
|
}
|
|
|
|
|
|