threshold property
double
get
threshold
Implementation
double get threshold => _threshold;
set
threshold
(double value)
Implementation
set threshold(double value) {
if (_threshold == value) return;
_threshold = value;
markNeedsVerticalOffsetUpdate();
if (!isAnimating && !isRefreshing) {
snapTo(verticalOffset / _threshold);
}
notifyListeners();
}