Answers for "how to get value from a dialog in flutter"

0

how to get value from a dialog in flutter

showDialog(
  context: context,
  builder: (context) => Dialog(
    val: vale,
  ),
).then((valueFromDialog){
  // use the value as you wish
  print(valueFromDialog);
});
Posted by: Guest on September-28-2021

Browse Popular Code Answers by Language