Largest constructor

Largest({
  1. required TextStyle style,
  2. required FontWeight bold,
  3. required FontWeight regular,
  4. required Color onBackground,
  5. required Color onPrimary,
  6. required Color secondary,
})

Implementation

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