NBHeading constructor Null safety

NBHeading(
  1. {Map<String, dynamic>? sizes,
  2. Sizes? s4xl,
  3. Sizes? s3xl,
  4. Sizes? s2xl,
  5. Sizes? xl,
  6. Sizes? lg,
  7. Sizes? md,
  8. Sizes? sm,
  9. Sizes? xs,
  10. HeadingBaseStyle? baseStyle}
)

Implementation

NBHeading(
    {Map<String, dynamic>? sizes,
    Sizes? s4xl,
    Sizes? s3xl,
    Sizes? s2xl,
    Sizes? xl,
    Sizes? lg,
    Sizes? md,
    Sizes? sm,
    Sizes? xs,
    HeadingBaseStyle? baseStyle}) {
  _sizes = sizes;
  _s4xl = s4xl;
  _s3xl = s3xl;
  _s2xl = s2xl;
  _xl = xl;
  _lg = lg;
  _md = md;
  _sm = sm;
  _xs = xs;
}