copyWith method

  1. @useResult
FFocusedOutlineStyle copyWith({
  1. Color? color,
  2. BorderRadius? borderRadius,
  3. double? width,
  4. double? spacing,
})

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

Implementation

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