SmallestRegular constructor

SmallestRegular({
  1. required TextStyle style,
  2. required Color onBackground,
  3. required Color onPrimary,
  4. required Color secondary,
})

Implementation

SmallestRegular({
  required TextStyle style,
  required Color onBackground,
  required Color onPrimary,
  required Color secondary,
}) : onBackground = style.copyWith(color: onBackground),
     onPrimary = style.copyWith(color: onPrimary),
     secondary = style.copyWith(color: secondary);