《Flutterl實戰》例子showDialog報錯Undefined name 'context'.

控件代碼以下:async //點擊該按鈕後彈出對話框 RaisedButton( child: Text("對話框1"), onPressed: () async { //彈出對話框並等待其關閉 bool delete = await showDeleteConfirmDialog1(); if (delete == null) { print("取消刪
相關文章
相關標籤/搜索