Draggable and DragTarget | Drag and Drop in Flutter
Вставка
- Опубліковано 23 лип 2024
- 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:
learnflutterwithme
Stuff I use for this channel (Affiliate Links)
SanDisk 1TB SSD amzn.to/3j1U8py
Elgato Cam Link 4K amzn.to/37EyqBK
Logitech G600 Mouse amzn.to/36DYFYz
Logitech G Pro Keyboard amzn.to/3saco38
Macbook Pro M1 13" amzn.to/36GzbKc
Neewer Mic Arm amzn.to/3z7RvIm
Davinci Resolve amzn.to/3erEb9I
Adobe Photoshop Elements amzn.to/3BkPKth
The form as you explain it's so clean, i'm brazilian but i can understand, thanks for you tutorial.
Thanks so much for watching!
Thank you for the tut. You explain much better than many of the content makers on flutter out there. Keep going
Thank you!
Very good explanation! Thanks!
Thanks for the clear explanation!
Wow, thank you so much. I was searching for this for the longest time.
You're welcome, so glad it helped!
it was really awesome
thanks for such a beautiful explanation😍
Really Great Tutorial Sir. Very clear explanations. Keep up your great work Sir.
Thank you!
thank you
Nice video!
Thank you!
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?
Nice and thanks for sharing. Question- how about dragging a couple of grid cells over another? Any good approach?
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?
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
what's the name of extention which is showing widget tree on right?
I unfortunately do ALL of those by hand. It's time consuming, but I think (hope) it helps understand where I'm at in the code during the videos!
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 .
Hi Marcin! Yes this was an introduction video which since you're familiar with it already it doesn't help you much. I do plan on doing a more in-depth video, hopefully I can work that in before too long. Thanks for the feedback!