objectLayoutAssist property

ObjectLayoutAssistSettings get objectLayoutAssist

The layout-assist settings of the selected object drawable from value.settings.object directly.

Implementation

ObjectLayoutAssistSettings get objectLayoutAssist =>
    value.settings.object.layoutAssist;
set objectLayoutAssist (ObjectLayoutAssistSettings layoutAssist)

The layout-assist settings of the selected object drawable 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 objectLayoutAssist(ObjectLayoutAssistSettings layoutAssist) =>
    value = value.copyWith(
        settings: value.settings.copyWith(
            object: value.settings.object.copyWith(
      layoutAssist: layoutAssist,
    )));