我建立了一个AlertDialog来显示加载,而我正在验证用户,当它完成后我弹出它.
Widget loadingDialog = new AlertDialog(
content: new Row(
children: <Widget>[
new CircularProgressIndicator(),
Padding(
padding: const EdgeInsets.only(left: 8.0),
child: new Text("Loading..."),
),
],
),);
Run Code Online (Sandbox Code Playgroud)
但是,如果用户点击对话框外,它会关闭.因此,当auth完成时,它仍会弹出一些东西(我猜是脚手架),打破了应用程序.如何让Dialog不能关闭?