onYes property

void Function() onYes
getter/setter pair

The handler to call for Yes (y key) actions

Implementation

void Function() onYes = _doNothing;