nodeIndent property

num nodeIndent

Gets or sets the default 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 #rootDefaults' property of the same name.

Implementation

_i2.num get nodeIndent => _i4.getProperty(
      this,
      'nodeIndent',
    );
void nodeIndent=(num value)

Implementation

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