我是新来的,我想在任务完成后取消我的对话框.我try 过:
Navigator.pop(context, true);
但我的屏幕变黑了,对话框还在上面.这是我的对话代码.
Dialog _dialog = new Dialog(
child: new Row(
mainAxisSize: MainAsixSize.min,
children: <Widget> [
new CircularProgressIndicator(),
new Text("Loading")]),
);