我试着在flutter中使用流生成器,但我得到了这些错误,我似乎不理解 The argument type 'Type' can't be assigned to the parameter type下面是它的小代码 builder: (BuildContext context , AsyncSnapshot snapshot){
if(snapshot.hasData
当我将StreamBuilder放入RefreshIndicator中时,它会多次使用滚动操作呈现小部件。我想避免太多它,因为StreamBuilder中的图表会有很多次动画效果。$ flutter doctor -v
[✓] Flutter (Channel stable, v1.2.1, on Mac OS X 10.13.6 17G5019, locale en-JP)• Flutter version 1.2.1 at /Users&