copyWith method
NonUniformOutlineInputBorder
copyWith({
- BorderSide? borderSide,
- BorderRadius? borderRadius,
- double? gapPadding,
- bool? hideTopSide,
- bool? hideBottomSide,
- bool? hideRightSide,
- bool? hideLeftSide,
override
Creates a copy of this input border with the specified borderSide
.
Implementation
@override
NonUniformOutlineInputBorder copyWith({
BorderSide? borderSide,
BorderRadius? borderRadius,
double? gapPadding,
bool? hideTopSide,
bool? hideBottomSide,
bool? hideRightSide,
bool? hideLeftSide,
}) {
return NonUniformOutlineInputBorder(
borderSide: borderSide ?? this.borderSide,
borderRadius: borderRadius ?? this.borderRadius,
hideTopSide: hideTopSide ?? this.hideTopSide,
hideBottomSide: hideBottomSide ?? this.hideBottomSide,
hideRightSide: hideRightSide ?? this.hideRightSide,
hideLeftSide: hideLeftSide ?? this.hideLeftSide,
);
}