ShowDialog method
Implementation
ShowDialog(
Widget title,
Widget content,
) {
showDialog(
context: this,
builder: (context) => AlertDialog(
title: title,
content: content,
actions: <Widget>[
TextButton(
onPressed: () {
Navigator.pop(context);
},
child: const Text('OK!'),
)
],
));
}