Smallest constructor

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

Implementation

Smallest({
  required TextStyle style,
  required FontWeight regular,
  required Color onBackground,
  required Color onPrimary,
  required Color secondary,
}) : regular = SmallestRegular(
       style: style.copyWith(fontWeight: regular),
       onBackground: onBackground,
       onPrimary: onPrimary,
       secondary: secondary,
     );