onClose property
Callback executed when the close button is pressed.
If null, defaults to Navigator.of(context).maybePop().
Implementation
final VoidCallback? onClose;
Callback executed when the close button is pressed.
If null, defaults to Navigator.of(context).maybePop().
final VoidCallback? onClose;