【发布时间】:2020-09-09 00:54:56
【问题描述】:
我正在返回表中的行数并尝试将其用作列表视图构建器中的 itemCount。但 listview builder 显示此错误
The argument type 'Future<int>' can't be assigned to the parameter type 'int'
如何解决?
【问题讨论】:
-
请发布代码 sn-p 以便人们能够为您提供帮助 @Shahbaz
标签: listview flutter dart future