onDragEnd property

Stream<DraggableEvent> onDragEnd

Fired when the user ends the dragging. Is also fired when the user clicks the 'esc'-key or the window loses focus.

Implementation

Stream<DraggableEvent> get onDragEnd {
  if (_onDragEnd == null) {
    _onDragEnd = StreamController<DraggableEvent>.broadcast(
        sync: true, onCancel: () => _onDragEnd = null);
  }
  return _onDragEnd!.stream;
}