open method

void open()

Opens the morph animation from the current position.

Implementation

void open() {
  final bool inFlight =
      _animationController.value > 0.001 && !(_isClosing && _hasHandedOff);
  _openStartProgress =
      inFlight ? _animationController.value.clamp(0.0, 1.0) : 0.0;
  _phaseStartTriggerWidth = _currentTriggerWidthProgress().clamp(0.0, 1.0);
  _isClosing = false;
  _hasHandedOff = false;
  _lastElapsedSeconds = 0.0;
  _runSpring(
    1.0,
    velocityHint: 0.0,
    tolerance:
        _isInstantProfile ? _instantSettleTolerance : _openSettleTolerance,
  );
}