enabled property
final
Is this widget enabled or not.
If disabled, will not send any notifications needed to update highlight or focus state, and will not define or respond to any actions or shortcuts.
When disabled, adds Focus to the widget tree, but sets Focus.canRequestFocus to false.
Implementation
final bool enabled;