flutter_swiper
flutter_swiper copied to clipboard
autoplayDisableOnInteraction not working then layout is SwiperLayout.STACK
when commenting out layout stack property autoplayDisableOnInteraction works as expected.
return Swiper(
autoplayDisableOnInteraction: true,
autoplayDelay: 1000,
viewportFraction: 0.8,
itemBuilder: (BuildContext context, int index) {
return _pageViewContent(widget.imgList[index]);
// return new Image.network("http://via.placeholder.com/350x150",fit: BoxFit.fill,);
},
itemCount: widget.imgList.length,
autoplay: true,
// itemWidth: 370.0, layout: SwiperLayout.STACK,
// pagination: SwiperCustomPagination(
pagination: SwiperPagination(
margin: EdgeInsets.only(top: 10),
builder: DotSwiperPaginationBuilder(
color: Colors.grey, activeColor: AppConfig.accentColor),
),
// control: SwiperControl(),
);
we dont get any errors in output it autoplay just not pausing that is all so it has no relation with referenced issue.
same issue. please fix
same issue. please fix