NBLineHeights constructor

NBLineHeights({
  1. double? i2xs,
  2. double? xs,
  3. double? sm,
  4. double? md,
  5. double? lg,
  6. double? xl,
  7. double? i2xl,
  8. double? i3xl,
  9. double? i4xl,
  10. double? i5xl,
})

Implementation

factory NBLineHeights(
    {double? i2xs,
    double? xs,
    double? sm,
    double? md,
    double? lg,
    double? xl,
    double? i2xl,
    double? i3xl,
    double? i4xl,
    double? i5xl}) {
  return NBLineHeights._raw(
    i2xs: i2xs ?? baseLineHeights.i2xs!,
    xs: xs ?? baseLineHeights.xs!,
    sm: sm ?? baseLineHeights.sm!,
    md: md ?? baseLineHeights.md!,
    lg: lg ?? baseLineHeights.lg!,
    xl: xl ?? baseLineHeights.xl!,
    i2xl: i2xl ?? baseLineHeights.i2xl!,
    i3xl: i3xl ?? baseLineHeights.i3xl!,
    i4xl: i4xl ?? baseLineHeights.i4xl!,
    i5xl: i5xl ?? baseLineHeights.i5xl!,
  );
}