Closed DevTello closed 9 months ago
Works, wrapped my fullscreen dialog's content with Stack, where the first child is
GestureDetector( onTap: dialog.hide, child: SizedBox.expand( child: Container(color: Colors.transparent), ), ),
But maybe there are other, simpler ways of doing this...
Works, wrapped my fullscreen dialog's content with Stack, where the first child is
GestureDetector( onTap: dialog.hide, child: SizedBox.expand( child: Container(color: Colors.transparent), ), ),
But maybe there are other, simpler ways of doing this...
Hi.
You can call this code whenever you want, and it will hide the current full-screen dialog.
FlutterEasyDialogs.hide(FullScreenDialog.identifier());
What is your question?
How to hide a dialog by tapping outside?
Code of Conduct