await showDialog( //Your Dialog Code ).then((val){ Navigator.pop(_context); });
Last updated 5 years ago