openStartActionPane method

Future<void> openStartActionPane({
  1. Duration duration = _defaultMovementDuration,
  2. Curve curve = _defaultCurve,
})

Implementation

Future<void> openStartActionPane({
  Duration duration = _defaultMovementDuration,
  Curve curve = _defaultCurve,
}) async {
  if (actionPaneType.value != ActionPaneType.start) {
    direction.value = isLeftToRight ? 1 : -1;
    ratio = 0;
  }

  return openTo(
    startActionPaneExtentRatio,
    duration: duration,
    curve: curve,
  );
}