Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support drag and drop #97

Closed
stuartmorgan opened this issue Jul 10, 2018 · 3 comments
Closed

Support drag and drop #97

stuartmorgan opened this issue Jul 10, 2018 · 3 comments

Comments

@stuartmorgan
Copy link
Collaborator

This will require #96, but also some notion of a widget being able to declare itself as a drag target and/or source.

It's not entirely clear how much of this will need to be on the native side vs. the Dart side. I suspect dropping into the app will be easier to support than dragging out, but both will require careful thought about how to straddle the native/Dart divide (e.g., how to track rectangles for drag targets).

@stuartmorgan stuartmorgan added this to To do in Overview Kanban Dec 12, 2018
@RazaGR
Copy link

RazaGR commented Apr 4, 2019

lovely...
will it support dataType like in HTML? https://developer.mozilla.org/en-US/docs/Web/API/HTML_Drag_and_Drop_API/Recommended_drag_types
Text, Image, Files etc

@stuartmorgan
Copy link
Collaborator Author

I don't know what the specific API will look like, but if you are primarily asking whether this would support more than just text, yes.

@stuartmorgan
Copy link
Collaborator Author

Moved to flutter/flutter#30719

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 9, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
No open projects
Development

No branches or pull requests

2 participants