onClose property

VoidCallback? onClose
final

Called when the button 'Close' is tapped.

If null, close icon will not appear.

Implementation

final VoidCallback? onClose;