Trying to implement loading spinner while loading data from Firestore with Flutter

I’m working on an app that display spinner when backend loading data from Firestore but it’s not worked as intended and I’m having a struggle to find the flaw. My Orders Page code import ‘package:flutter/material.dart’; import ‘package:provider/provider.dart’; import ‘package:table_service/providers/order.dart’; import ‘../providers/session.dart’; class OrdersPage extends StatefulWidget { bool isLoading = true; @override _OrdersPageState createState() => _OrdersPageState();…

Details