open method

void open({
  1. double? velocity,
})

Retargets the spring toward open, inserting the shuttle if needed.

Implementation

void open({double? velocity}) {
  if (_finished) {
    return;
  }
  if (_entry == null) {
    _insertEntry();
  }
  _restoreHistoryEntry();
  controller.open(velocity: velocity);
}