title: Bad state: field does not exist within the DocumentSnapshotPlatform. (something wrong with StreamBuilder)
body: <p>Getting error please see the image. <a href="https://i.stack.imgur.com/yfjE0.png" rel="nofollow noreferrer">enter image description here</a></p>
  <p><strong>Error code</strong></p>
  <p><em>The following StateError was thrown building StreamBuilder&lt;QuerySnapshot&lt;Object?&gt;&gt;(dirty, state: _StreamBuilderBaseState&lt;QuerySnapshot&lt;Object?&gt;, AsyncSnapshot&lt;QuerySnapshot&lt;Object?&gt;&gt;&gt;#92e48):
  Bad state: field does not exist within the DocumentSnapshotPlatform</em></p>
  <pre><code>StreamBuilder&lt;QuerySnapshot&gt;(
                  stream: _store.collection('messages').snapshots(),
                  builder: (context ,snapshot){
                    if(!snapshot.hasData){
                      return Center(
                        child: CircularProgressIndicator(
                          backgroundColor: Colors.blue,
                        ),
                      );
                    }
                    final messages = snapshot.data.docs;
                    List&lt;Text&gt; messagesWidgets =[];
                    for(var message in messages){
                      final messageID = message['id'];
                      final messageText = message['text'];
                      final messagesWidget = Text('$messageID from $messageText');
                      messagesWidgets.add(messagesWidget);
                    }
                    return
                        Column(
                          children : messagesWidgets,
  
                        );
                  }
              ),
  </code></pre>