showFullscreenDialog method

void showFullscreenDialog(
  1. Widget dialog
)

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;
  });
}