showScaleRotationControlsResolver property Null safety
A function used to decide whether to show scale and rotation controls or not.
This is because on touch screens, scale and rotation can be controlled with pinching.
(However, controlling the size for
Sized2DDrawables still needs the controls).
By default, it hides scale and rotation controls on mobile operating systems (see
If you need more custom control, you can for example use the cursor state from a MouseRegion to determine if the user is using a mouse or not (for example, if someone is using an iPad with a mouse and keyboard).
final ObjectShowScaleRotationControlsResolver showScaleRotationControlsResolver;