但是,当我将构建器内部的内容转移到不同的StatefulWidget时,就会出现这个错误:I/flutter ( 3647): Build functions must never returnnull.To return an empty space that causes the building widget to
I/<
我是一个初学者,在flutter_bloc中,我试图在块构建器中获取小部件,但是获得"A构建函数返回空。违规的小部件是: blocbuilder。构建函数绝不能返回null“。: A build function returned null.>
I/flutter (13632): Build functions must never return null.I/flutter (
我有一份申请。在这里,我对位置数据进行查询。下面是我的代码和firebase结构。但是我得到的数据是空的。如果我做错了什么,请告诉我。 GeoFirePoint center = geo.point(latitude: 28.535517, longitude: 77.391029); var collectionReference = _firestore.collection('Salons');
return geo.collection(collectionRef: c