endOnCancel property

bool endOnCancel
final

Whether a cancelled drag should also manufacture and emit an onDragEnd, built from the last known drag position.

If enabled, onDragEnd is called immediately after onDragCancel.

Defaults to false.

Implementation

final bool endOnCancel;