startAutoplay method

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

Implementation

void startAutoplay({bool animation = true}) {
  event = AutoPlaySwiperControllerEvent.start(animation: animation);
  notifyListeners();
}