alternateNodeIndent property
num
get
alternateNodeIndent
Gets or sets the alternate indentation of the first child.
The default value is zero. The value should be non-negative.
This property is only sensible when the #alignment is TreeLayout.AlignmentStart|AlignmentStart or TreeLayout.AlignmentEnd|AlignmentEnd. Having a positive value is useful if you want to reserve space at the start of the row of children for some reason. For example, if you want to pretend the parent node is infinitely deep, you can set this to be the breadth of the parent node. This sets the #alternateDefaults' property of the same name.
Implementation
_i2.num get alternateNodeIndent => _i4.getProperty(
this,
'alternateNodeIndent',
);
set
alternateNodeIndent
(num value)
Implementation
set alternateNodeIndent(_i2.num value) {
_i4.setProperty(
this,
'alternateNodeIndent',
value,
);
}