copyWith method

  1. @useResult
FTextFieldBorderStyle copyWith({
  1. Color? color,
  2. double? width,
  3. BorderRadius? radius,
})

Returns a copy of this border style but with the given fields replaced with the new values.

Implementation

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