onOkButtonPressed property
Callback function to be called on when OK button is pressed.
If set to null, then the button will be disabled and by
default will resemble a flat button in the Theme's disabledColor
.
Implementation
final VoidCallback? onOkButtonPressed;