Flutter Tutorial - Drag & Drop Widgets - Draggable & DragTarget

Flutter Tutorial - Drag & Drop Widgets - Draggable & DragTarget

HeyFlutter․com

3 года назад

28,221 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Gary Quagmire
Gary Quagmire - 01.09.2023 13:24

great video! question tho, if i drag an object to a zone that is not allowed, can he go back to the zone that is allowed but the closest one? instead of going back? or if the zone where is dragged have other objects already there but the zone is allowed, can we move the objects in order to make some room for the object that we dragged? something like the grid view from apple watch .

Ответить
PIKARITOS
PIKARITOS - 04.10.2022 06:15

Fantastick

Ответить
Sanjukta Ghatak
Sanjukta Ghatak - 09.08.2022 04:34

Hi
Thankyou for sharing the lesson.
I want to add refresh button at the end of the game.
I am unable to make it refreshed from the beginning as all widgets remain in the dropped position itself.
Even when we click back button and come back to this game page it does not refresh the page.
It will be great help, if you can add refresh button as well at the end.
Regards,

Ответить
Abdelaziz Kayoueche
Abdelaziz Kayoueche - 11.07.2022 11:49

Hi i hope that you are doing well i have problem the Draggable widget on web version don't work any more. can any one help me please.

Ответить
Nodirbek Rasuljonov
Nodirbek Rasuljonov - 28.05.2022 07:33

Hello dear I'm from Uzbekistan Your video tutorial helped me to learn draggable and draggtarget widgets in flutter

Ответить
HeyAveHey
HeyAveHey - 14.05.2022 05:28

How to set the tolerance and precision to accept the draggable feedback?

Ответить
Splytzs
Splytzs - 23.04.2022 21:34

I have some issues when I try to use statefulwidget as draggable widget.. do toi have any advice about this?

Ответить
braa faisal
braa faisal - 11.03.2022 08:15

when i drag last item

static _doThrowNew(int assertionStart, int assertionEnd, Object? message)
native "AssertionError_throwNew";
static _doThrowNewSource(String failedAssertion, int line, int column,
Object? message) native "AssertionError_throwNewSource";

DraggableBasicPage

Ответить
braa faisal
braa faisal - 11.03.2022 08:13

════════ Exception caught by rendering library ═════════════════════════════════
'package:flutter/src/rendering/shifted_box.dart': Failed assertion: line 348 pos 12: 'child!.hasSize': is not true.
package:flutter/…/rendering/shifted_box.dart:348
The relevant error-causing widget was

Ответить
clcl1109
clcl1109 - 11.11.2021 22:35

you're amazing

Ответить
Yashraj Dangar
Yashraj Dangar - 14.09.2021 09:35

This is helpful!
How can I drag and drop list inside another list and remove from inside list and insert it in outside list????

Ответить
Flutter Mapp
Flutter Mapp - 04.07.2021 02:36

Just referred someone to this video! Always amazing work as always man! ✌️🙏 Thanks

Ответить
Rony Fernandes
Rony Fernandes - 02.07.2021 03:11

Great quality content as allways, congratz

Ответить
Sabari Manikandan
Sabari Manikandan - 01.07.2021 18:55

you are great

Ответить
mkmalik
mkmalik - 07.05.2021 00:34

great as always ♥️

Ответить
Pierre Marais
Pierre Marais - 21.04.2021 18:03

Hi Johannes me again, I tried to after watching this video, to drag Text from on Gridview.count to another Gridview.count, the first Gridview has letters and the target gridview none, the user must moved the shuffled letters to the target gridview soreted in order, please help if you can, Pierre

Ответить
Aung Kyaw Soe
Aung Kyaw Soe - 20.04.2021 19:52

Thank you very much!

Ответить
Farwa Zehra
Farwa Zehra - 02.04.2021 16:47

hi.. a big fan of yours & love your videos,. can you pls tell me how the DragTarget is specified to accept only a specified Draggable ? i have created 4 draggables for 4 dragtargets but unfortunately the drag targets dont identify their respective draggables.

Ответить
Nav Preet
Nav Preet - 27.02.2021 23:09

How to prevent the draggable from getting dragged outside the container?

Ответить
Vinay Chowdary Sarupuru
Vinay Chowdary Sarupuru - 25.02.2021 08:03

Awesome @Johannes..
Thank you for a very good explaination

Ответить
Darshak vasoya
Darshak vasoya - 20.02.2021 15:58

How can I integrate google pay or any UPI pay application with flutter without using payment gateway like Strip?

Ответить
Basic-Fantastic
Basic-Fantastic - 19.02.2021 18:47

waiting for flutter plugin called Stripe to pay off

Ответить
Hector Zayas
Hector Zayas - 19.02.2021 14:55

Thumbs up, Thanks

Ответить
Ahmad Salem
Ahmad Salem - 19.02.2021 12:08

amazing

Ответить
Mayowa Olunuga
Mayowa Olunuga - 19.02.2021 10:13

This is helpful, great content.

Ответить
John Peter
John Peter - 19.02.2021 05:20

Great Video..
Thank you very much

Ответить
Pablo Satler
Pablo Satler - 19.02.2021 02:59

Awesome as always!

Ответить
Aulia Sabril
Aulia Sabril - 19.02.2021 01:55

Thanks a lot mike

Ответить
Football Clips
Football Clips - 19.02.2021 01:54

This is fantastic

Ответить
bijaya adhikari
bijaya adhikari - 19.02.2021 01:52

This is awesome 👏.

Ответить
Ahmed ATCHA
Ahmed ATCHA - 19.02.2021 01:28

First comment

Ответить