copyToClipboard

actual fun copyToClipboard(content: String, onCopy: () -> Unit)

Method to copy to the clipboard a content value

Parameters

content

The content to copy

onCopy

The action to execute after the copy in the clipboard

expect fun copyToClipboard(content: String, onCopy: () -> Unit = {})

Method to copy to the clipboard a content value

Parameters

content

The content to copy

onCopy

The action to execute after the copy in the clipboard

actual fun copyToClipboard(content: String, onCopy: () -> Unit)

Method to copy to the clipboard a content value

Parameters

content

The content to copy

onCopy

The action to execute after the copy in the clipboard