currentTarget property

EventDispatcher currentTarget

The object that is actively processing the Event object with an event listener.

For example, if a user clicks an OK button, the current target could be the node containing that button or one of its ancestors that has registered an event listener for that event.


EventDispatcher get currentTarget => _currentTarget;