onClose property
Callback when close button is pressed. If null, defaults to popping the dialog.
Implementation
final VoidCallback? onClose;
Callback when close button is pressed. If null, defaults to popping the dialog.
final VoidCallback? onClose;