onCancel property

Function? onCancel
final

The (optional) on cancel button that will display at the bottom of the dialog. Note : Do not use POP to cancel the dialog, just put your cancel code there

Implementation

final Function? onCancel;