getStyle method
- BuildContext context,
- MissionTimer model
Gets the text style for the timer.
Implementation
TextStyle getStyle(BuildContext context, MissionTimer model) => model.underMin
? context.textTheme.headlineSmall!.copyWith(
color: context.colorScheme.error,
fontWeight: FontWeight.bold,
)
: context.textTheme.headlineSmall!.copyWith(color: context.colorScheme.onPrimary);