Copy Pasting Text from Clipboard
Copy Pasting Text from Clipboard
Use this component to get/write text copied into the device's clipboard/pasteboard.
To get started using it, you must use KmpClipboard.
To get text from the device's clipboard, please use this:
_2 val textFromDevice = KmpClipboard.getTextFromClipboard()_2 fun copyTextIntoClipboard(textToCopy: String)
To write text into the device's clipboard, please use this:
_1 KmpClipboard.copyTextIntoClipboard("My text to copy into clipboard")
Any Setup Required?
None