canRequestFocus property

bool canRequestFocus
final

Whether the button can request focus.

Defaults to true. If false, the button will not be focusable via keyboard traversal, but will still be tappable and accessible to screen readers.

Implementation

final bool canRequestFocus;