copyWith method
ObjectSettings
copyWith({
- ObjectLayoutAssistSettings? layoutAssist,
- ObjectEnlargeControlsResolver? enlargeControlsResolver,
- ObjectShowScaleRotationControlsResolver? showScaleRotationControlsResolver,
Creates a copy of this but with the given fields replaced with the new values.
Implementation
ObjectSettings copyWith({
ObjectLayoutAssistSettings? layoutAssist,
ObjectEnlargeControlsResolver? enlargeControlsResolver,
ObjectShowScaleRotationControlsResolver? showScaleRotationControlsResolver,
}) {
return ObjectSettings(
layoutAssist: layoutAssist ?? this.layoutAssist,
enlargeControlsResolver:
enlargeControlsResolver ?? this.enlargeControlsResolver,
showScaleRotationControlsResolver: showScaleRotationControlsResolver ??
this.showScaleRotationControlsResolver,
);
}