superlistapp / super_native_extensions

Native drag & drop, clipboard access and context menu.
MIT License
454 stars 82 forks source link

[super_drag_and_drop]Support multiple fileUir ? #438

Open Vzz1c opened 1 month ago

Vzz1c commented 1 month ago

item.add(Formats.fileUri(Uri(path:"xxxx"))); item.add(Formats.fileUri(Uri(path:"xxxx2"))); //This file is not copied to the drag destination This can only add one file, can it add multiple files?

knopp commented 1 month ago

For multiple fileUris you need to add multiple items in the writer, each with one URI.

Vzz1c commented 1 month ago

For multiple fileUris you need to add multiple items in the writer, each with one URI.

In the addVirtualFile method, the third party software appears to be stuck invalid, one of the parameters is VirtualFileStorage? storageSuggestion, which may work, but this parameter doesn't seem to work?