onTouchCancel property Null safety

EventStream<TouchEvent> onTouchCancel

Dispatched when the touch event is canceled.

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

Implementation

EventStream<TouchEvent> get onTouchCancel =>
    InteractiveObject.touchCancelEvent.forTarget(this);