copyWith method
LiquidVerticalRoundedRectangle
copyWith({
- BorderSide? side,
- double? topRadius,
- double? bottomRadius,
override
Returns a copy of this OutlinedBorder that draws its outline with the
specified side, if side is non-null.
Implementation
@override
LiquidVerticalRoundedRectangle copyWith({
BorderSide? side,
double? topRadius,
double? bottomRadius,
}) {
return LiquidVerticalRoundedRectangle(
side: side ?? this.side,
topRadius: topRadius ?? this.topRadius,
bottomRadius: bottomRadius ?? this.bottomRadius,
);
}