copyWith method - FFocusedOutlineStyle class - forui.foundation library (original) (raw)

Returns a copy of this FFocusedOutlineStyle with the given properties replaced.

Implementation

@useResult
FFocusedOutlineStyle copyWith({Color? color, BorderRadiusGeometry? borderRadius, double? width, double? spacing}) =>
    FFocusedOutlineStyle(
      color: color ?? this.color,
      borderRadius: borderRadius ?? this.borderRadius,
      width: width ?? this.width,
      spacing: spacing ?? this.spacing,
    );