📜  Flutter AlertDialog Navigator 弹出黑屏 - 随便代码示例

📅  最后修改于: 2022-03-11 14:57:54.330000             🧑  作者: Mango

代码示例1
just adding this to the pop of the Dialog 
rootNavigator: true

ex:
Navigator.of(context, rootNavigator: true).pop();