📜  颤动如何在警报对话框上设置状态 - 任何代码示例

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

代码示例1
showDialog(
  context: context,
  builder: (context) {
    String contentText = "Content of Dialog";
    return StatefulBuilder(
      builder: (context, setState) {
        return AlertDialog(blah blah blah....)})})