Draggable and DragTarget | Drag and Drop in Flutter

preview_player
Показать описание
Make Widgets draggable and set up dragtargets to drag the widgets into in this introduction to the draggable and dragtarget widgets in Flutter.

00:00 Intro and Boilerplate
01:41 Make Widget Draggable
02:51 DragTarget
04:10 Drop Status Variable
05:18 Custom Draggable Widget
07:37 Pass emojis between
09:06 onWillAccept
10:26 Material on feedback and Outro

#flutter #learnflutter

Instagram:

Stuff I use for this channel (Affiliate Links)

Рекомендации по теме
Комментарии
Автор

The form as you explain it's so clean, i'm brazilian but i can understand, thanks for you tutorial.

isaacsouza
Автор

Thank you for the tut. You explain much better than many of the content makers on flutter out there. Keep going

einsam
Автор

Wow, thank you so much. I was searching for this for the longest time.

blueice
Автор

it was really awesome
thanks for such a beautiful explanation😍

knowwhy
Автор

Really Great Tutorial Sir. Very clear explanations. Keep up your great work Sir.

aashiqumr
Автор

Thanks a lot for the great tutorial, it helped a lot with my project. I have a question, I have added a shuffle function but it's inside the initState() so it wont shuffle in the build. So I want to create a button to reset to initial state and also shuffle but I am stuck, is there an easy way on how to do it?

melonpun
Автор

Nice and thanks for sharing. Question- how about dragging a couple of grid cells over another? Any good approach?

kennyn.
Автор

Thanks for your efforts, the video was very helpful, but I am getting an error sys: Null check operator used on a null value error
when implementing the onAccept callback
Would you help me to solve that?

ahmedfareed
Автор

Hi For example, how can we paste a t-shirt widget on top of a person's picture to wear another picture on top of the picture? I don't want draggable widget don't fill the draggable widget target

batuhanerdem
Автор

what's the name of extention which is showing widget tree on right?

MAhmad-vjpn
Автор

Draggable widget this kind of example is nothing new for me. One of many. What I would like to see here is a proper theme to show action, interaction (focus hover dragging) . I am disappointed. Hopefully part 2 will come .

kasandrop