Skip to content

滚动时间越久越卡顿 #297

Open
@yanchunlan-ola

Description

@yanchunlan-ola

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(), //左右箭头导航
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions