drag_and_drop_windows 0.0.2 icon indicating copy to clipboard operation
drag_and_drop_windows: ^0.0.2 copied to clipboard

PlatformWindows

A Flutter plugin that adds drag-and-drop functionality for windows.

drag_and_drop_windows #

A Flutter plugin that adds drag-and-drop functionality for windows.

Example app running on Microsoft Windows 11 (Debug)

Installation #

dependencies:
  drag_and_drop_windows: ^0.0.1

or

$ flutter pub add drag_and_drop_windows

Subscribe to the drop event stream.

import 'package:drag_and_drop_windows/drag_and_drop_windows.dart';
StreamSubscription subscription = dropEventStream.listen((paths) {
  // something to do
});

API #

This plugin provides only one event stream.

  • dropEventStream (Stream<List<String>>) Send the item's path, one or more, that was dragged into the app window.
7
likes
140
pub points
59%
popularity

Publisher

verified publisher iconarasan01.dev

A Flutter plugin that adds drag-and-drop functionality for windows.

Repository (GitHub)

Documentation

API reference

License

Icon for licenses.MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on drag_and_drop_windows