desktop_drop 0.7.0
desktop_drop: ^0.7.0 copied to clipboard
A plugin which allows user dragging files to your flutter desktop applications.
Changelog #
0.7.0 #
[Android] Upgrade Android compileSdk and Kotlin version. (#444) [macOS] Robust multi-source drag & drop.
- Prefer
public.file-url/ legacy filename arrays when present; fall back toNSFilePromiseReceiver(file promises) otherwise. - Handle directories (
isDirectory) and surface asDropItemDirectory. - Add
fromPromisetoDropItemso apps can distinguish promise-based drops. - Generate security-scoped bookmarks only for paths outside the app container
(skip/empty for promise files in
.../tmp/Drops/...). - Per-drop unique destination for promised files to avoid name collisions.
- Thread-safe collection of drop results when receiving promises.
- Dart guards: no-op
start/stopAccessingSecurityScopedResourceon empty bookmarks. - Bump macOS minimum to 10.13 (SPM/Podspec).
0.6.1 #
- Fix desktop_drop Linux snap build failure due to missing stdlib.h include (#425)
0.6.0 #
0.5.0 #
- upgrade web version to 1.0.0
0.4.3 #
- fix windows build warning C4701
0.4.2 #
- fix crash on Windows when app exit
0.4.1 #
- [macOS] improve enumerateDraggingItems on macOS.
0.4.0 #
- [Android] update to later version of kotlin(1.5.2). #155 by Cal Holloway
- [macOS] Fix broken gestures when used with modified MainFlutterWindow. #162 by Josh Matthews
0.3.1 #
- Fix desktop_drop web lastModifiedDate. (Thanks Luigi Rosso)
0.3.0 #
** BREAK CHANGES**
- replace DropDoneDetails property
urls: List<Uri>tofiles: List<XFile>. which is more general.
0.2.0 #
Add web support
0.1.2 #
[Linux] Fix do not work on Wayland.
0.1.1 #
update plugin description.
0.1.0 #
- add android support. (preview)
- expose pointer coordinates.
BREAK CHANGE:
- Change
onDragEntered,onDragExitedandonDragUpdatedcallbacks signature fromVoidCallbacktovoid Function(DropEventDetails). - Change
DropDoneDetailsfromvoid Function(List<Uri>)tovoid Function(DropDoneDetails). you can obtain urls byDropDoneDetails.urls.
0.0.1 #
a file drop plugin for flutter desktop platforms.
- add Linux support.
- add Windows support.
- add macOS support.