onCancel property

VoidCallback? onCancel
final

The user closed the flow. Without it the Close and Cancel buttons do nothing.

Implementation

final VoidCallback? onCancel;