DragTarget Widget

Updated 27 April 2023

Save

DragTarget Widget is a widget that receives data when a Draggable widget is dropped. When a draggable is dragged on top of a drag target, the drag target is asked whether it will accept the data the draggable is carrying. If the user does drop the draggable on top of the drag target, then the drag target is asked to accept the draggable’s data.

You may also check our Flutter app development page.

Properties:

Output:


Conclusion:

I hope you get the rough idea to how to use DragTarget Widget in flutter. For reference you can also check here. You can also read other Mobikul blog here.


author
. . .

Leave a Comment

Your email address will not be published. Required fields are marked*


Be the first to comment.

Start a Project


    Message Sent!

    If you have more details or questions, you can reply to the received confirmation email.

    Back to Home