distancePulled property

double get distancePulled

Implementation

double get distancePulled => _distancePulled;
  1. @protected
set distancePulled (double value)

Implementation

@protected
set distancePulled(double value) {
  if (_distancePulled == value) return;
  _distancePulled = math.max(0.0, value);

  markNeedsVerticalOffsetUpdate();
  if (!isAnimating && !isRefreshing) {
    snapTo(verticalOffset / threshold);
  }
  notifyListeners();
}