-
Notifications
You must be signed in to change notification settings - Fork 701
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
滚动时间越久越卡顿 #297
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hi, 我在滚动控件里面放了一个webView/或者imageView,发现webView/imageView会频繁创建,时间越久就会卡顿,
代码如下:
Swiper(
itemCount: list.length,
itemBuilder: (context, index) {
return WebView(
initialUrl: "https://www.baidu.com/?tn=02003390_25_hao_pg",
javascriptMode: JavascriptMode.unrestricted,
);
},
pagination: SwiperPagination(), //轮播图片底下的指示点
control: SwiperControl(), //左右箭头导航
)
The text was updated successfully, but these errors were encountered: