onFocusChange property

(void Function(bool)?) onFocusChange
final

Handler called when the focus changes.

Called with true if this widget's node gains focus, and false if it loses focus.

Implementation

final void Function(bool)? onFocusChange;