sheetHeight property
double
get
sheetHeight
The height of the sheet's visible area.
Calculated based on the difference between the total available pixels and the current offset.
Implementation
double get sheetHeight {
final offsetFromTop =
_isAnimatingOpen || _extent.maxHeight <= _extent.minHeight
? _extent.offset
: clampDouble(
_extent.offset,
_extent.minHeight,
_extent.maxHeight,
);
return _isEnabled
? math.max(0.0, _extent.availablePixels - offsetFromTop)
: 0.0;
}