copyWith method
- BorderSide? borderSide,
- BorderRadius? borderRadius,
override
Creates a copy of this input border with the specified borderSide
.
Implementation
@override
UnderlineInputBorder copyWith({ BorderSide? borderSide, BorderRadius? borderRadius }) {
return UnderlineInputBorder(
borderSide: borderSide ?? this.borderSide,
borderRadius: borderRadius ?? this.borderRadius,
);
}