onFocusChange property

void Function(bool focused)? onFocusChange
final

Called when the focus changes.

Called with:

  • focused = true if focus is gained by tap.
  • focused = false if the focus is lost due to do a second tap on this dial or focus gained by another widget.

Implementation

final void Function(bool focused)? onFocusChange;