drag_and_drop_windows 0.0.3 copy "drag_and_drop_windows: ^0.0.3" to clipboard
drag_and_drop_windows: ^0.0.3 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.
16
likes
140
pub points
62%
popularity

Publisher

verified publisherarasan01.dev

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

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on drag_and_drop_windows