applyMoveTo method

  1. @protected
bool applyMoveTo (double value)
@protected

Move the position to the given location.

If the new position was fully applied, returns true. If there was any overflow, returns false.

The default implementation calls ScrollActivityDelegate.setPixels and returns true if the overflow was zero.

Implementation

@protected
bool applyMoveTo(double value) {
  return delegate.setPixels(value) == 0.0;
}