Flutter alertdialog
AlertDialog(
title: const Text('AlertDialog Title'),
content: const Text('this is a demo alert diolog'),
actions: <Widget>[
TextButton(
child: const Text('Approve'),
onPressed: () {
Navigator.of(context).pop();
},
),
],
);
Sore Serval