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