copyWith method

FSResponsiveValue<T> copyWith({
  1. T? xs,
  2. T? sm,
  3. T? md,
  4. T? lg,
  5. T? xl,
  6. T? xxl,
})

Create a copy with updated values

Implementation

FSResponsiveValue<T> copyWith({
  T? xs,
  T? sm,
  T? md,
  T? lg,
  T? xl,
  T? xxl,
}) {
  return FSResponsiveValue<T>(
    xs: xs ?? this.xs,
    sm: sm ?? this.sm,
    md: md ?? this.md,
    lg: lg ?? this.lg,
    xl: xl ?? this.xl,
    xxl: xxl ?? this.xxl,
  );
}