onFocus property
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;
Callback invoked when focus state changes.
Called with true when the button gains focus, and false when it loses focus. Supports keyboard navigation patterns.
final ValueChanged<bool>? onFocus;