defaultTreeRowExtentBuilder static method

double defaultTreeRowExtentBuilder(
  1. TreeSliverNode<Object?> node,
  2. SliverLayoutDimensions dimensions
)

Returns the fixed default extent for rows in the tree, which is 40 pixels.

Used by TreeSliver.treeRowExtentBuilder.

Implementation

static double defaultTreeRowExtentBuilder(
  TreeSliverNode<Object?> node,
  SliverLayoutDimensions dimensions,
) {
  return _kDefaultRowExtent;
}