Giant constructor

Giant({
  1. required TextStyle style,
  2. required FontWeight bold,
  3. required FontWeight regular,
  4. required Color currencyPrimary,
  5. 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,
     );