enabled
Sets isEnabled on this component only, controlling whether it responds to user input and paints in its enabled state. To disable descendants, use provideNestedStyle(AllComponents) { enabled(false) } on a container. The provided style does not disable the container itself, and a descendant's own enabled(true) overrides it.
Parameters
enabled
false keeps the component out of the Tab cycle and stops its key bindings firing. A lightweight component still receives mouse events while disabled, so the listeners declared on it go on reporting; it is the widget's own listeners that read the enabled state before acting on one.