showFullscreenDialog method
Shows a fullscreen dialog.
The dialog parameter should be a widget that represents the dialog to be displayed.
Implementation
void showFullscreenDialog(Widget dialog) {
setState(() {
_fullscreenDialog = dialog;
});
}