enlargeControlsResolver property

ObjectEnlargeControlsResolver enlargeControlsResolver

A function used to decide whether to enlarge the object controls or not. This is because on touch screens, larger controls are needed to make them easier to tap and drag.

By default, it enlarges controls on mobile operating systems (see _enlargeControls).

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 ObjectEnlargeControlsResolver enlargeControlsResolver;