SyntheticDataTransfer class

Used to wrap SyntheticMouseEvent.dataTransfer's interop value in order to avoid known errors.

See github.com/cleandart/react-dart/pull/220 for more context.

Related: syntheticDataTransferFactory

Constructors

SyntheticDataTransfer(String? dropEffect, String? effectAllowed, List files, List<String> types)

Properties

dropEffect String?
Gets the type of drag-and-drop operation currently selected or sets the operation to a new type.
final
effectAllowed String?
Provides all of the types of operations that are possible.
final
files List
Contains a list of all the local files available on the data transfer.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
types List<String>
Gives the formats that were set in the dragstart event.
final

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