enlargeObjectControlsResolver property
ObjectEnlargeControlsResolver
get
enlargeObjectControlsResolver
The function used to decide whether to enlarge the object controls or not from value.settings.object
directly.
Implementation
ObjectEnlargeControlsResolver get enlargeObjectControlsResolver =>
value.settings.object.enlargeControlsResolver;
set
enlargeObjectControlsResolver
(ObjectEnlargeControlsResolver enlargeControls)
The function used to decide whether to enlarge the 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 enlargeObjectControlsResolver(
ObjectEnlargeControlsResolver enlargeControls) =>
value = value.copyWith(
settings: value.settings.copyWith(
object: value.settings.object.copyWith(
enlargeControlsResolver: enlargeControls,
)));