threshold property
Implementation
@override
double get threshold => _threshold;
set
threshold
(double value)
Implementation
set threshold(double value) {
if (_threshold == value) return;
_threshold = value;
_verticalOffset = calculateVerticalOffset();
if (!isAnimating && !isRefreshing) {
delegate.snapTo(verticalOffset / _threshold);
}
notifyListeners();
}