onClose property

VoidCallback? onClose
final

Callback when close button is pressed. If null, defaults to popping the dialog.

Implementation

final VoidCallback? onClose;