copyWith method

  1. @override
CustomOutlineInputBorder copyWith({
  1. BorderSide? borderSide,
  2. BorderRadius? borderRadius,
})
override

Creates a copy of this input border with the specified borderSide.

Implementation

@override
CustomOutlineInputBorder copyWith(
    {BorderSide? borderSide, BorderRadius? borderRadius}) {
  return CustomOutlineInputBorder(
    borderSide: borderSide ?? this.borderSide,
    borderRadius: borderRadius ?? this.borderRadius,
  );
}