flutter_swiper icon indicating copy to clipboard operation
flutter_swiper copied to clipboard

autoplayDisableOnInteraction not working then layout is SwiperLayout.STACK

Open Xgamefactory opened this issue 5 years ago • 3 comments

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(),
    );

Xgamefactory avatar Jul 03 '19 13:07 Xgamefactory

we dont get any errors in output it autoplay just not pausing that is all so it has no relation with referenced issue.

Xgamefactory avatar Jul 03 '19 16:07 Xgamefactory

same issue. please fix

sgehrman avatar Jul 23 '20 06:07 sgehrman

same issue. please fix

SriRam-Macha avatar May 18 '21 05:05 SriRam-Macha