TreeDragAndDropController<T> class

Provides support for drag and drop in TreeView.

Available extensions
Annotations
  • @JS()
  • @staticInterop
  • @anonymous

Constructors

TreeDragAndDropController({List<String>? dropMimeTypes, List<String>? dragMimeTypes, FutureOr<void> handleDrag(List, DataTransfer, CancellationToken)?, FutureOr<void> handleDrop(DataTransfer, CancellationToken, [dynamic])?})
factory

Properties

dragMimeTypes List<String>

Available on TreeDragAndDropController<T>, provided by the TreeDragAndDropController$Typings extension

The mime types that the {@link TreeDragAndDropController.handleDraghandleDrag} method of this TreeDragAndDropController may add to the tree data transfer. This could be well-defined, existing, mime types, and also mime types defined by the extension.
no setter
dropMimeTypes List<String>

Available on TreeDragAndDropController<T>, provided by the TreeDragAndDropController$Typings extension

The mime types that the {@link TreeDragAndDropController.handleDrophandleDrop} method of this DragAndDropController supports. This could be well-defined, existing, mime types, and also mime types defined by the extension.
no setter
handleDrag FutureOr<void> Function(List<T>, DataTransfer, CancellationToken)

Available on TreeDragAndDropController<T>, provided by the TreeDragAndDropController$Typings extension

getter/setter pair
handleDrop FutureOr<void> Function(DataTransfer, CancellationToken, [T?])

Available on TreeDragAndDropController<T>, provided by the TreeDragAndDropController$Typings extension

getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited