open method

void open({
  1. SlideActionType? actionType,
})

Opens the Slidable. By default it's open the SlideActionType.primary action pane, but you can modify this by setting actionType.

Implementation

void open({SlideActionType? actionType}) {
  widget.controller?.activeState = this;

  if (actionType != null && _actionType != actionType) {
    setState(() {
      this.actionType = actionType;
    });
  }
  if (_actionCount > 0) {
    _overallMoveController.animateTo(
      _totalActionsExtent,
      curve: Curves.easeIn,
      duration: widget.movementDuration,
    );
  }
}