DragAndDropSourceModifierNode
Interface
Common
sealed interface DragAndDropSourceModifierNode : LayoutAwareModifierNode
A Modifier.Node
that can be used as a source for platform drag and drop operations. In most
cases, you will want to delegate to the DragAndDropSourceModifierNode
returned by the eponymous
factory method.
Properties
Common
val isRequestDragAndDropTransferRequired: Boolean
Returns a boolean value indicating whether requesting drag and drop transfer is required.
This variable is used to check if the platform requires drag and drop transfer initiated by application explicitly, for example via a custom gesture.
Functions
fun requestDragAndDropTransfer(offset: Offset)
Requests a drag and drop transfer. isRequestDragAndDropTransferRequired
can be used to
check if it required to be performed.
Parameters
offset | the offset value representing position of the input pointer. |