onPasteFiles property

ValueChanged<List<ShadClipboardItem>>? onPasteFiles
final

Called when files are pasted from the clipboard on web.

Invoked on Ctrl+V / Cmd+V when the input is focused and the clipboard contains file data. Normal text paste still proceeds regardless.

Only works on web. On other platforms, this callback is never invoked.

Implementation

final ValueChanged<List<ShadClipboardItem>>? onPasteFiles;