layoutConditions property

num get layoutConditions

Gets or sets flags that control when the Layout that is responsible for this Part is invalidated. The initial value is Part.LayoutStandard, which causes the layout for this part to be invalidated when the part is added or removed or changes visibility or size.

Individual layout conditions include: Part.LayoutAdded, Part.LayoutRemoved, Part.LayoutShown, Part.LayoutHidden, and Part.LayoutNodeSized.

This property is ignored when #isLayoutPositioned is false -- no operation on this Part will by itself cause the responsible Layout to be invalidated.

You can also control when layouts are invalidated is by setting Layout#isInitial or Layout#isOngoing.

Implementation

_i2.num get layoutConditions => _i4.getProperty(
      this,
      'layoutConditions',
    );
set layoutConditions (num value)

Implementation

set layoutConditions(_i2.num value) {
  _i4.setProperty(
    this,
    'layoutConditions',
    value,
  );
}