animateToThreshold method

  1. @mustCallSuper
  2. @override
void animateToThreshold()
override

Implementation

@mustCallSuper
@override
void animateToThreshold() {
  final simulation = _createSimulation(1.0);
  super.animateToThreshold();
  stop();
  _simulation = simulation;
  _distanceFraction = simulation.x(0.0);
  markNeedsVerticalOffsetUpdate();
  start();
}