onClose property

VoidCallback onClose
final

Called when the user taps the close button.

Implementation

final VoidCallback onClose;