skip to Main Content

Flutter – prevent dialog from being above later pushed page

I am using typed routes with go_router in flutter. I show a loading spinner like this: showDialog<void>( context: context, barrierDismissible: false, builder: (BuildContext context) { return const Dialog( backgroundColor: Colors.transparent, elevation: 0, child: Center( child: CircularProgressIndicator( valueColor: AlwaysStoppedAnimation<Color>(Colors.black), ), ),…

VIEW QUESTION
Back To Top
Search