onClose property

VoidCallback? onClose
final

A callback that is triggered when the close button is pressed.

Implementation

final VoidCallback? onClose;