Skip to content

feature: Native Drag & Drops #5990

Closed
Closed

Description

@Creeper19472

Duplicate Check

Describe the requested feature

As the title suggests, I would like to add drag-and-drop functionality to Flet between applications and the native system.

Here is a list of some packages that may help achieve this functionality for your reference:

Suggest a solution

No response

Screenshots

No response

Additional details

No response

Activity

  1. shiena commented on Jan 11, 2026

    @shiena
    Contributor

    This is an extension that integrates desktop_drop. I haven't maintained it recently, so it may not work with the 0.8.x series.
    https://github.com/shiena/flet-dropzone

  2. HG-ha commented on Feb 11, 2026

    @HG-ha
    Contributor

    I'm using version 0.80.0 and this extension works fine.

  3. hschneider commented on Mar 23, 2026

    @hschneider

    Under 0.82 the example app says "No flet-dropzone control" ...

  4. Decryptu commented on Oct 3, 2026

    @Decryptu

    hello !

    for anyone who needs this on Flet 1.0.x: I got native file drops working with a small extension around desktop_drop, since flet-dropzone no longer seems to work on recent versions. its a FileDrop control that wraps any content and reports enter, leave and drop (with the list of file paths)

    dart side: https://github.com/Decryptu/pokeldn/tree/109cd83/gui/flet_drop
    python control: https://github.com/Decryptu/pokeldn/blob/109cd83/gui/drop.py
    build script: https://github.com/Decryptu/pokeldn/blob/109cd83/scripts/build_client.py checks out Flet's source at the installed version, adds the extension to client/pubspec.yaml and main.dart, and runs flutter build. point FLET_VIEW_PATH at the result (it also works for flet pack)

    its tested on macOS with Flet 1.0.2 and Flutter 3.44.8, and also builds for Windows and Linux. feel free to reuse it and to include it in a PR here too if u want, im totally ok with it

  5. shiena commented on Oct 6, 2026

    @shiena
    Contributor

    flet-dropzone works with flet 1.0 and later, but it requires a build once because it uses a 3rd-party Flutter library.

  6. locked and limited conversation to collaborators on Oct 21, 2026
  7. converted this issue into a discussion #6987 on Oct 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestSuggestion/Request for additional feature

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions