onCancel property

VoidCallback? onCancel
final

Callback to be called after the user views the error, and taps CANCEL in the dialog.

Implementation

final VoidCallback? onCancel;