onSwipeAlert method

dynamic onSwipeAlert(
  1. dynamic data
)

Implementation

onSwipeAlert(data) {
  if (widget.showCloseButton != true) {
    hide();
  }
}