Giant constructor
- required TextStyle style,
- required FontWeight bold,
- required FontWeight regular,
- required Color currencyPrimary,
- required Color onBackground,
Implementation
Giant({
required TextStyle style,
required FontWeight bold,
required FontWeight regular,
required Color currencyPrimary,
required Color onBackground,
}) : bold = GiantBold(
style: style.copyWith(fontWeight: bold),
currencyPrimary: currencyPrimary,
),
regular = GiantRegular(
style: style.copyWith(fontWeight: regular),
onBackground: onBackground,
);