Flutter Tutorial - Drag & Drop Widgets - Draggable & DragTarget

Поділитися
Вставка
  • Опубліковано 6 вер 2024

КОМЕНТАРІ • 43

  • @HeyFlutter
    @HeyFlutter  Рік тому

    This might help you :)
    👉 12 Week Flutter Training from Newbie to Expert: heyflutter.com
    Source Code: github.com/JohannesMilke/draggable_example

  • @FlutterMapp
    @FlutterMapp 3 роки тому +2

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

  • @nodirbekrasuljonov
    @nodirbekrasuljonov 2 роки тому

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

  • @yashrajdangar8382
    @yashrajdangar8382 3 роки тому +1

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

    • @yashrajdangar8382
      @yashrajdangar8382 3 роки тому

      @@HeyFlutter Thanks for the link.
      What I want is, Drag and drop list into another list and also remove that list from inside list and drop to outside list???
      For example I have a folder and I want to add lists inside folder and remove that lists inside the folder with the help of drag and drop.

  • @heyavehey8973
    @heyavehey8973 2 роки тому

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

  • @braafaisal2258
    @braafaisal2258 2 роки тому

    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

  • @pierremarais7669
    @pierremarais7669 3 роки тому

    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

  • @vinaymama
    @vinaymama 3 роки тому

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

  • @navpreet4115
    @navpreet4115 3 роки тому +1

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

    • @navpreet4115
      @navpreet4115 3 роки тому

      @@HeyFlutter The thing i wanted to know was like.....for example height of my container is 400 and the draggable inside of it has a height of 100 , Is there any way to prevent the draggable from getting dragged out of its parent widget?

    • @OVR362
      @OVR362 Рік тому

      @@navpreet4115 Even I want to code something similar to your logic. Did you find the solution?

  • @darshakvasoya2075
    @darshakvasoya2075 3 роки тому +1

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

    • @darshakvasoya2075
      @darshakvasoya2075 3 роки тому

      @@HeyFlutter Thank you so much bro.
      I am waiting for it.

    • @jacobmiller38
      @jacobmiller38 3 роки тому

      TLDR the Firebase UA-cam and online examples with community articles and this Stripe doc page attached and the plug-in from flutterstripe IO helped.

  • @ronyfernandes3017
    @ronyfernandes3017 3 роки тому

    Great quality content as allways, congratz

  • @Splyzs
    @Splyzs 2 роки тому

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

    • @Splyzs
      @Splyzs 2 роки тому

      @@HeyFlutter Thanks a lot! can't wait to see it it will help me a lot! Nice work man you're awesome

  • @Toniolunuga
    @Toniolunuga 3 роки тому

    This is helpful, great content.

  • @aungkyawsoe6897
    @aungkyawsoe6897 3 роки тому

    Thank you very much!

  • @sanjuktaghatak6825
    @sanjuktaghatak6825 2 роки тому

    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,

    • @HeyFlutter
      @HeyFlutter  2 роки тому

      Thanks for the idea, Sanjukta Ghatak! 🙂 I have added it to my list of ideas for future videos!

  • @psatler
    @psatler 3 роки тому

    Awesome as always!

  • @auliasabril1899
    @auliasabril1899 3 роки тому

    Thanks a lot mike

  • @abdelazizkayoueche8317
    @abdelazizkayoueche8317 2 роки тому

    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.

    • @HeyFlutter
      @HeyFlutter  2 роки тому

      Hello, Abdelaziz Kayoueche! Follow this link: github.com/flutter/flutter/issues/67044, I hope it will solve your problem. Thank You 🙂

    • @abdelazizkayoueche8317
      @abdelazizkayoueche8317 2 роки тому

      Thank you for your quick replay but i didn't understand what to do from this link can you please help me.

  • @Bootngoals
    @Bootngoals 3 роки тому

    This is fantastic

  • @johnpeter122
    @johnpeter122 3 роки тому

    Great Video..
    Thank you very much

  • @farwazehra6315
    @farwazehra6315 3 роки тому

    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.

    • @farwazehra6315
      @farwazehra6315 3 роки тому

      @@HeyFlutterthank you!! one more thing, how do i make a drag target change its color upon accepting the right draggable?

  • @bijayaadhikari442
    @bijayaadhikari442 3 роки тому

    This is awesome 👏.

  • @braafaisal2258
    @braafaisal2258 2 роки тому

    ════════ 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

  • @mkmalikcom
    @mkmalikcom 3 роки тому

    great as always ♥️

    • @mkmalikcom
      @mkmalikcom 3 роки тому

      @@HeyFlutter always, keep creating such great contents, appreciate

  • @hectorprx
    @hectorprx 3 роки тому

    Thumbs up, Thanks

  • @clcl1109
    @clcl1109 2 роки тому

    you're amazing

  • @sabarimanikandan19
    @sabarimanikandan19 3 роки тому

    you are great

  • @ahmadsalem5418
    @ahmadsalem5418 3 роки тому

    amazing

  • @pikaritos1742
    @pikaritos1742 Рік тому

    Fantastick

  • @basic-fantastic3041
    @basic-fantastic3041 3 роки тому

    waiting for flutter plugin called Stripe to pay off

  • @ahmedatcha6326
    @ahmedatcha6326 3 роки тому +1

    First comment