wantsInput property

bool get wantsInput

Whether this component wants to receive raw input events when focused.

Override this getter to return true if the component should process individual input events (key presses, mouse movements) rather than relying on higher-level events like onClick.

Implementation

bool get wantsInput => false;