onNegativeButtonPressed property
dynamic Function()?
onNegativeButtonPressed
getter/setter pair
A callback function to be executed when the negative button is pressed.
Implementation
Function()? onNegativeButtonPressed;