-
Notifications
You must be signed in to change notification settings - Fork 717
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
Comments
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(),
),
),
) |
setstate数据更新时有可能出现多个swiper,不知道咋回事 |
Open
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
每当一个item切换时,底部出现不明ui,切换完毕后消失,再次切换又出现,已经测试过,是这个插件造成的
The text was updated successfully, but these errors were encountered: