FocusFunc typedef

void FocusFunc (
  1. bool hasFocus
)

Signature of focus event callback when focus changes on widget

Implementation

typedef FocusFunc  =  void Function(bool hasFocus);