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