sizes top-level property Null safety

NBHeading sizes
read / write

Implementation

NBHeading sizes = NBHeading(
  s4xl: Sizes(
    fontSize: nbFontSizes.i6xl,
    letterSpacing: baseLetterSpacings.xl,
  ),
  s3xl: Sizes(
    fontSize: nbFontSizes.i5xl,
    letterSpacing: baseLetterSpacings.xl,
  ),
  s2xl: Sizes(
    fontSize: nbFontSizes.i4xl,
  ),
  xl: Sizes(
    fontSize: nbFontSizes.i3xl,
  ),
  lg: Sizes(
    fontSize: nbFontSizes.i2xl,
  ),
  md: Sizes(
    fontSize: nbFontSizes.xl,
  ),
  sm: Sizes(
    fontSize: nbFontSizes.md,
  ),
  xs: Sizes(
    fontSize: nbFontSizes.sm,
  ),
);