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