expand method

void expand()

Implementation

void expand() {
  if (_state.phase != OverlayPhase.cardMode) return;
  _state = _state.copyWith(phase: OverlayPhase.expanding, isAnimating: true);
  notifyListeners();
  _expandController.animateTo(1.0, curve: expandCurve);
}