How to fetch nested documents using streambuilder from Firestone in flutter?

Solution 1:

Thanks for the answers, but I figured out the solution.

I used the nested FutureBuilders which returns promised widgets.

I modified my Order instance by updating variables with widgets.

Before

StreamBuilder -> Fetching Collections and Documents

After

StreamBuilder -> FutureBuilder to Fetch Collection/Document ->FutureBuilder - >To fetch inner Collection/Document