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<
The mime types that the {@link TreeDragAndDropController.handleDragT> , provided by the TreeDragAndDropController$Typings extensionhandleDrag
} method of thisTreeDragAndDropController
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<
The mime types that the {@link TreeDragAndDropController.handleDropT> , provided by the TreeDragAndDropController$Typings extensionhandleDrop
} method of thisDragAndDropController
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 extensiongetter/setter pair -
handleDrop
↔ FutureOr<
void> Function(DataTransfer, CancellationToken, [T?]) -
Available on TreeDragAndDropController<
T> , provided by the TreeDragAndDropController$Typings extensiongetter/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