minOverscrollLength property
double
get
minOverscrollLength
The preferred smallest size the scrollbar thumb can shrink to when viewport is overscrolled.
When overscrolling, the size of the scrollbar may shrink to a smaller size
than minOverscrollLength to fit in the available paint area. E.g., when
minOverscrollLength is double.infinity
, it will not be respected if
the ScrollMetrics.viewportDimension and mainAxisMargin are finite.
The value is less than or equal to minLength and greater than or equal to 0. When null, it will default to the value of minLength.
Implementation
double get minOverscrollLength => _minOverscrollLength;
set
minOverscrollLength
(double value)
Implementation
set minOverscrollLength(double value) {
if (minOverscrollLength == value) {
return;
}
_minOverscrollLength = value;
notifyListeners();
}