onInteract property

VoidCallback? onInteract
getter/setter pair

An action that should happen when the user tries to interact with the widget. This is an a11y friendly gesture detector that detects taps, and keyboard events.

Implementation

VoidCallback? onInteract;