onDismiss property

VoidCallback? onDismiss
final

Shows a close button that calls it.

Implementation

final VoidCallback? onDismiss;