crossAxisExtent property

  1. @override
double get crossAxisExtent
override

The tree sliver's cross-axis extent (its band width for a vertical tree), or 0.0 when isLaidOut is false. This is the width rows are laid out against, before their own indent.

Implementation

@override
double get crossAxisExtent {
  if (geometry == null) {
    return 0.0;
  }
  return constraints.crossAxisExtent;
}