We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
图二:
图二是想要的效果。但是在用Navigator.pushNamed切换到swiper所在页面的时,swiper会先显示图一,然后快速闪烁成图二。 以下是创建swiper的代码:
recommendationSwiper = Container( height: 140, child: Swiper( itemBuilder: _swiperBuilder, itemCount: 3, layout: SwiperLayout.DEFAULT, pagination: new SwiperPagination( builder: DotSwiperPaginationBuilder( color: Colors.black54, activeColor: Colors.white, )), control: new SwiperControl(), autoplayDisableOnInteraction: true, scrollDirection: Axis.horizontal, viewportFraction: 0.85, scale: 0.9, autoplay: true, onTap: (index) => print('点击了第$index个'), ));
The text was updated successfully, but these errors were encountered:
No branches or pull requests
图一:
图二:
图二是想要的效果。但是在用Navigator.pushNamed切换到swiper所在页面的时,swiper会先显示图一,然后快速闪烁成图二。
以下是创建swiper的代码:
The text was updated successfully, but these errors were encountered: