Search packages, repositories and app categories

Package detailsv0.9.2

desktop_drop

A plugin which allows user dragging files to your flutter desktop applications.

AndroidWebmacOSWindowsLinux
30-day downloads
814K
Likes
471
Pub points
150

Install package

flutter pub add desktop_drop

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

desktop_drop is a Flutter plugin that enables file dragging and dropping into desktop applications built with Flutter. It supports macOS, Windows, and Linux, allowing users to interact with files directly by dragging them onto the app interface. The plugin integrates seamlessly with Flutter's gesture system and provides a simple API to handle dropped file paths. It’s ideal for apps requiring file input without traditional file selection dialogs. Compatible with Android and Web as well, though drag-and-drop functionality is primarily intended for desktop platforms.

Use cases

  • File import in desktop apps
  • Drag-and-drop interfaces
  • Desktop file management tools
  • Media upload workflows
  • Custom file input experiences

Key features

  • Supports macOS, Windows, and Linux
  • Simple drag-and-drop API
  • Cross-platform compatibility
  • Handles multiple file drops
  • Integrates with Flutter's gesture system

Suitable for

  • Desktop application developers
  • File-heavy desktop apps
  • Apps needing intuitive file input
  • Developers building creative tools
  • UI-focused desktop experiences

Considerations

  • Limited functionality on mobile and web
  • Requires platform-specific setup
  • No built-in file preview or processing
  • May need custom validation for file types
  • Not designed for touch-based gestures on mobile

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

flutter-plugins

This repo contains the source code for Flutter plugins which used in Mixin Messenger Desktop. Check the packages directory for all plugins.

Any questions join the Mixin Flutter group

Plugins

Plugin Pub Likes Platforms
desktop_drop pub package likes Windows, Linux, macOS, web
desktop_lifecycle pub package likes Windows, Linux, macOS
ogg_opus_player pub package likes Windows, Linux, macOS, iOS
pasteboard pub package likes Windows, Linux, macOS, web
win_toast pub package likes Windows
desktop_webview_window pub package likes Windows, Linux, macOS
fts5_simple pub package likes Windows, Linux, macOS
desktop_multi_window pub package likes Windows, Linux, macOS
mixin_logger pub package likes All Platforms
mixin_markdown_widget pub package likes Windows, Linux, macOS
ui_device pub package likes iOS
string_tokenizer Not Published Not Published macOS, iOS

Categories

Dependencies

Dependency list 5 items

  • cross_file^0.4.0
  • cross_file_platform_interface^1.0.0
  • cross_file_web^1.0.0
  • mime^2.0.0
  • web^1.1.1

Source repository

Projects using this package