onTouchTap property Null safety

EventStream<TouchEvent> onTouchTap

Dispatched when the user lifts the point of contact over the same InteractiveObject instance on which the contact was initiated on a touch-enabled device.

You have to opt-in for touch events by setting the InputEventMode to TouchOnly or MouseAndTouch in the stage options.

Implementation

EventStream<TouchEvent> get onTouchTap =>
    InteractiveObject.touchTap.forTarget(this);