indentation property

double get 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;
set indentation (double value)

Implementation

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