onCancelled property
        
        void Function()?
        onCancelled
        
      
getter/setter pair
      Callback for what should happen when the button is cancelled.
Implementation
void Function()? onCancelled;
Callback for what should happen when the button is cancelled.
void Function()? onCancelled;