stopAutoplay method

void stopAutoplay({
  1. bool animation = true,
})

Implementation

void stopAutoplay({bool animation = true}) {
  event = AutoPlaySwiperControllerEvent.stop(animation: animation);
  notifyListeners();
}