custom static method

TreeSliverIndentationType custom(
  1. double value
)

Configures a custom offset for indenting child nodes in a TreeSliver.

Child nodes will be offset by the provided number of pixels in the tree. The value must be a non negative number.

Implementation

static TreeSliverIndentationType custom(double value) {
  assert(value >= 0.0);
  return TreeSliverIndentationType._internal(value);
}