crossAxisExtent property

double? crossAxisExtent

The amount of space allocated to the cross axis.

This value will be typically null unless it is different from SliverConstraints.crossAxisExtent. If null, then the cross axis extent of the sliver is assumed to be the same as the SliverConstraints.crossAxisExtent. This is because slivers typically consume all of the extent that is available in the cross axis.

See also:


final double? crossAxisExtent;