Largest constructor
Implementation
Largest({
required TextStyle style,
required FontWeight bold,
required FontWeight regular,
required Color onBackground,
required Color onPrimary,
required Color currencyPrimary,
required Color secondary,
}) : bold = LargestBold(
style: style.copyWith(fontWeight: bold),
onBackground: onBackground,
onPrimary: onPrimary,
currencyPrimary: currencyPrimary,
),
regular = LargestRegular(
style: style.copyWith(fontWeight: regular),
onBackground: onBackground,
onPrimary: onPrimary,
secondary: secondary,
);