stopAutoPlay method
void
stopAutoPlay()
Stops the controlled CarouselSlider from auto-playing.
This is a more on-demand way of doing this. Use the autoPlay
parameter in CarouselOptions to specify the autoPlay behavior of the carousel.
Implementation
void stopAutoPlay() {
_state!.onResetTimer();
}