SmallRegular constructor
SmallRegular({ - required TextStyle style,
- required Color danger,
- required Color onBackground,
- required Color onPrimary,
- required Color primary,
- required Color secondary,
- required Color secondaryHighlight,
- required Color secondaryHighlightDarkest,
})
Implementation
SmallRegular({
required TextStyle style,
required Color danger,
required Color onBackground,
required Color onPrimary,
required Color primary,
required Color secondary,
required Color secondaryHighlight,
required Color secondaryHighlightDarkest,
}) : danger = style.copyWith(color: danger),
onBackground = style.copyWith(color: onBackground),
onPrimary = style.copyWith(color: onPrimary),
primary = style.copyWith(color: primary),
secondary = style.copyWith(color: secondary),
secondaryHighlight = style.copyWith(color: secondaryHighlight),
secondaryHighlightDarkest =
style.copyWith(color: secondaryHighlightDarkest);