📅  最后修改于: 2022-03-11 14:55:28.926000             🧑  作者: Mango
showDialog(
context: context,
builder: (context) => Dialog(
val: vale,
),
).then((valueFromDialog){
// use the value as you wish
print(valueFromDialog);
});