onOk property

void Function() onOk
getter/setter pair

The handler to call for OK (enter key) actions

Implementation

void Function() onOk = _doNothing;