onCancel property
The function to call to cancel this widget.
By default, this function will simply call Navigator.pop.
Implementation
final VoidCallback? onCancel;
The function to call to cancel this widget.
By default, this function will simply call Navigator.pop.
final VoidCallback? onCancel;