showObjectScaleRotationControlsResolver property

ObjectShowScaleRotationControlsResolver get showObjectScaleRotationControlsResolver

The function used to decide whether to show scale and rotation object controls or not from value.settings.object directly.

Implementation

ObjectShowScaleRotationControlsResolver
    get showObjectScaleRotationControlsResolver =>
        value.settings.object.showScaleRotationControlsResolver;
set showObjectScaleRotationControlsResolver (ObjectShowScaleRotationControlsResolver showScaleRotationControlsResolver)

The function used to decide whether to show scale and rotation object controls or not from value.settings.object directly.

Setting this will notify all the listeners of this PainterController that they need to update (it calls notifyListeners). For this reason, this value should only be set between frames, e.g. in response to user actions, not during the build, layout, or paint phases.

Implementation

set showObjectScaleRotationControlsResolver(
        ObjectShowScaleRotationControlsResolver
            showScaleRotationControlsResolver) =>
    value = value.copyWith(
        settings: value.settings.copyWith(
            object: value.settings.object.copyWith(
      showScaleRotationControlsResolver: showScaleRotationControlsResolver,
    )));