Skip to content
New issue

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

轮播过程中,出现不明ui #107

Closed
chavesgu opened this issue Jul 19, 2019 · 3 comments
Closed

轮播过程中,出现不明ui #107

chavesgu opened this issue Jul 19, 2019 · 3 comments

Comments

@chavesgu
Copy link

每当一个item切换时,底部出现不明ui,切换完毕后消失,再次切换又出现,已经测试过,是这个插件造成的
Jul-19-2019 17-13-53

@chavesgu
Copy link
Author

Container(
                height: ScreenUtil().setWidth(300),
                margin: EdgeInsets.all(ScreenUtil().setWidth(40)),
                child: ClipRRect(
                  borderRadius: BorderRadius.all(Radius.circular(ScreenUtil().setWidth(10))),
                  child: Swiper(
                    autoplay: true,
                    itemCount: bannerList.length,
                    itemBuilder: (BuildContext context, int index) {
                      return MyImage(
                        url: bannerList[index],
                        fit: BoxFit.fitWidth,
                      );
                    },
                    pagination: SwiperPagination(),
                  ),
                ),
              )

@gqdy365
Copy link

gqdy365 commented Sep 17, 2019

setstate数据更新时有可能出现多个swiper,不知道咋回事

@jevonszmx
Copy link

关注一下,我也遇到这个问题
截屏2020-12-02 21 14 41

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants