onCancel property

VoidCallback? onCancel
final

Invoked when the user taps the cancel action, before the dialog pops.

Implementation

final VoidCallback? onCancel;