reset method

void reset()

Sets the controller's value to initialValue or lowerBound, stopping the animation (if in progress), and resetting to its beginning point, or collapsed state.

Implementation

void reset() {
  value = initialValue ?? lowerBound!;
}