onCancel property

VoidCallback onCancel
final

Called when the user taps the cancel button.

Implementation

final VoidCallback onCancel;