copyWith method

FSCustomBreakpoints copyWith({
  1. double? xs,
  2. double? sm,
  3. double? md,
  4. double? lg,
  5. double? xl,
  6. double? xxl,
})

Create a copy with updated values

Implementation

FSCustomBreakpoints copyWith({
  double? xs,
  double? sm,
  double? md,
  double? lg,
  double? xl,
  double? xxl,
}) {
  return FSCustomBreakpoints(
    xs: xs ?? this.xs,
    sm: sm ?? this.sm,
    md: md ?? this.md,
    lg: lg ?? this.lg,
    xl: xl ?? this.xl,
    xxl: xxl ?? this.xxl,
  );
}