indentation property

double indentation

The number of pixels by which child nodes will be offset in the cross axis based on their TreeSliverNodeParentData.depth.

If zero, can alternatively offset children in TreeSliver.treeNodeBuilder for more options to customize the indented space.

Implementation

double get indentation => _indentation;
void indentation=(double value)

Implementation

set indentation(double value) {
  if (_indentation == value) {
    return;
  }
  assert(indentation >= 0.0);
  _indentation = value;
  markNeedsLayout();
}