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