Flutter - Can a ListView contain a static widget and a stream
问题 Currently my I have a ListView that is warped by a StreamBuilder which gets data from firebase firestore (e.g a list of users). This is how it looks: Widget UsersList = new StreamBuilder( stream: Firestore.instance .collection('users') .snapshots(), builder: (context, snapshot) { if (!snapshot.hasData) return const Text("loading"); return new ListView.builder( itemCount: snapshot.data.documents.length, itemBuilder: (context, index) => _buildItem(context, snapshot.data.documents[index]), ); }