copyWith method

FSCustomSpacing copyWith({
  1. double? none,
  2. double? xs,
  3. double? sm,
  4. double? md,
  5. double? lg,
  6. double? xl,
  7. double? xxl,
  8. double? xxxl,
})

Create a copy with updated values

Implementation

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