《Flutterl实战》例子showDialog报错Undefined name 'context'.

控件代码以下:async //点击该按钮后弹出对话框 RaisedButton( child: Text("对话框1"), onPressed: () async { //弹出对话框并等待其关闭 bool delete = await showDeleteConfirmDialog1(); if (delete == null) { print("取消删
相关文章
相关标签/搜索