抖动无法从网络加载图像

时间:2020-07-28 09:12:37

标签: flutter

RangeError: Invalid typed array length: 1299
    at new Float32Array (<anonymous>)
    at GLTFLoader.js:1965
    at async Promise.all (:3000/index 0)
    at async Promise.all (:3000/index 0)
    at async Promise.all (:3000/index 4)
    at async Promise.all (:3000/index 0)
    at async Promise.all (:3000/index 2)
    at async Promise.all (:3000/index 0)
    at async Promise.all

这是错误

return ListView.builder(
      itemCount: snapshot.data.length,
      itemBuilder: (BuildContext context, int index) {
        return ListTile(
          leading: CircleAvatar(
            backgroundImage: CachedNetworkImageProvider(
                snapshot.data[index].poster),
            // backgroundImage:
            // NetworkImage(snapshot.data[index].poster),
          ),
          title: Text(snapshot.data[index].title),
          //subtitle: Text(snapshot.data[index].stroyLine)
        );
      },
    );

0 个答案:

没有答案
相关问题