copyWith method

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

Implementation

@override
ResponsiveWidget copyWith(
        {Widget? s,
        Widget? xs,
        Widget? xxs,
        Widget? m,
        Widget? xm,
        Widget? l,
        Widget? xl,
        Widget? xxl,
        Widget? h}) =>
    ResponsiveWidget(
      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,
    );