📜  flutter getx 对话框 - Dart 代码示例

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

代码示例1
GetMaterialApp( 
        home: Scaffold(
          appBar: AppBar(title: Text('Snackbar')),
          body: Center(
              child: ElevatedButton(
                  onPressed: () {
                    Get.defaultDialog();
                  },
                  child: Text('Button')),
          )
        )
      );