onFocus property

ValueChanged<bool>? onFocus
final

Callback invoked when focus state changes.

Called with true when the button gains focus, and false when it loses focus. Supports keyboard navigation patterns.

Implementation

final ValueChanged<bool>? onFocus;