copyWith method

  1. @override
ResponsiveInt copyWith({
  1. int? s,
  2. int? xs,
  3. int? xxs,
  4. int? m,
  5. int? xm,
  6. int? l,
  7. int? xl,
  8. int? xxl,
  9. int? h,
})
override

Implementation

@override
ResponsiveInt copyWith({
  int? s,
  int? xs,
  int? xxs,
  int? m,
  int? xm,
  int? l,
  int? xl,
  int? xxl,
  int? h,
}) =>
    ResponsiveInt(
      s: s ?? this.s,
      xs: xs ?? this.xs,
      xxs: xxs ?? this.xxs,
      m: m ?? this.m,
      xm: xm ?? this.xm,
      l: l ?? this.l,
      xl: xl ?? this.xl,
      xxl: xxl ?? this.xxl,
      h: h ?? this.h,
    );