There should be array called contacts and inside that there should be 3 maps according to your data. Then create a list in your screen class. List contacts; Then create a function to retrieve data from firestore .
Read moreHow do I use firestore database in flutter?
Firestore Tutorial for Flutter: Getting Started
Read moreHow do I retrieve data from firestore flutter?
Call the getDocs() function, then use the build function, then print all the document IDs in the console . Here is how you do it! Get all data from the collection that you found working, without using deprecated methods.
Read moreHow do I retrieve data from Firebase realtime database?
Asynchronous listeners: Data stored in a Firebase Realtime Database is retrieved by attaching an asynchronous listener to a database reference . The listener is triggered once for the initial state of the data and again anytime the data changes. An event listener may receive several different types of events.
Read moreHow read data from firebase in flutter?
Launch Android Studio and create a new Flutter project.
Read more