title: Invalid value: Valid value range is empty: 0)
body: <pre><code> FirebaseFirestore firestore = FirebaseFirestore.instance;
  </code></pre>
  <p>List dataListWidget(AsyncSnapshot snapshot) {
  return snapshot.data.docs[0].map((document) {
  return ListTile(
  title: Text(document[&quot;Name&quot;]),
  subtitle: Text(document[&quot;City&quot;]),
  );
  }).toList();
  }</p>
  <p>//my streamBuilder</p>
  <p>StreamBuilder(
  stream: firestore.collection('customers').snapshots(),
  builder: (context, snapshot) {
  return ListView(
  children: dataListWidget(snapshot),
  );
  },
  ),`</p>