copyWith method Null safety
- {BorderSide? side,
- BorderRadiusGeometry? borderRadius}
override
Returns a copy of this RoundedRectangleBorder with the given fields replaced with the new values.
Implementation
@override
BeveledRectangleBorder copyWith({ BorderSide? side, BorderRadiusGeometry? borderRadius }) {
return BeveledRectangleBorder(
side: side ?? this.side,
borderRadius: borderRadius ?? this.borderRadius,
);
}