DragAndDropSourceModifierNode
Function
Common
fun DragAndDropSourceModifierNode(
onStartTransfer: DragAndDropStartTransferScope.(Offset) -> Unit
): DragAndDropSourceModifierNode
Creates a DragAndDropSourceModifierNode
for starting platform drag and drop sessions with the
intention of transferring data.
Parameters
onStartTransfer | the callback function that is invoked when drag and drop session starts. It takes an Offset parameter representing the start position of the drag. |