Drag and drop - Flutter Build Show

Поделиться
HTML-код
  • Опубликовано: 2 июн 2024
  • Learn how to build advanced drag-and-drop UIs in Flutter using the `super_drag_and_drop` package.
    Chapters:
    00:00 Intro
    01:37 Setup
    06:03 Using super_drag_and_drop
    09:21 Adding a dragged placeholder
    10:44 Adding a drop preview
    14:16 Adding drop functionality
    15:48 Dropping from the desktop
    17:47 Conclusion
    Watch more Flutter Build Show → goo.gle/FlutterBuildShow
    Subscribe to Flutter → goo.gle/FlutterYT
    #FlutterBuildShow #Flutter
    Speaker: Craig Labenz
    Products Mentioned: Flutter
  • НаукаНаука

Комментарии • 61

  • @flutterdev
    @flutterdev  2 месяца назад +9

    Subscribe to Flutter → goo.gle/FlutterYT

  • @skypuff
    @skypuff 2 месяца назад +6

    Absolute gold. I wouldn't have minded if this was 40 minutes to an hour long.

    • @mikopiko
      @mikopiko 2 месяца назад +2

      They already have hours long streams, I think 20 minutes is good

  • @amirmirzababapour6016
    @amirmirzababapour6016 2 месяца назад

    This guy talks so smooth, it's enjoyable to watch him explain stuff. 👍

  • @santosvision
    @santosvision 2 месяца назад +1

    Just adding this functionality to my app is like almost creating another app within the app lol. Thank you for the package and the explenation.

  • @RikazZarook
    @RikazZarook 2 месяца назад +15

    I just searched for this a few hours ago. Now you have created the content.

    • @vasorotto19
      @vasorotto19 2 месяца назад

      I was just thinking about this a few hours ago, even more impressing.

    • @dmitry.skibitsky
      @dmitry.skibitsky 2 месяца назад

      Is Google involved in this? We are all under the hood of this giant.

    • @vasorotto19
      @vasorotto19 2 месяца назад +1

      @@dmitry.skibitsky I don't think Google can read my mind

    • @begula_real
      @begula_real 2 месяца назад

      ​@@vasorotto19"ok lets go personal google ads" --google founder, maybe lol

    • @anotherhonestguy
      @anotherhonestguy 2 месяца назад +1

      We got a requirement regarding this and now the content is here. Wow!

  • @mehranullah4774
    @mehranullah4774 2 месяца назад +1

    Awesome work.

  • @ariosetiawan173
    @ariosetiawan173 2 месяца назад +1

    Flutter Keep Grows Widely :O

  • @codontv1000
    @codontv1000 2 месяца назад

    Thanks, continue to evolve Flutter Web

  • @ralfizFlutter
    @ralfizFlutter 2 месяца назад

    awsome presentation bro

  • @bakhbk
    @bakhbk 2 месяца назад

    Definitely useful!

  • @MOImmortal
    @MOImmortal Месяц назад

    nice work

  • @DYLANKAVUNDAMA
    @DYLANKAVUNDAMA 2 месяца назад +1

    Excellent

  • @ghassanalkaraan
    @ghassanalkaraan 2 месяца назад +1

    Love this framework.

  • @chaitanyadamarasingu979
    @chaitanyadamarasingu979 2 месяца назад +1

    Expecting more for Flutter web

  • @mrHachem
    @mrHachem 2 месяца назад

    Flutter is the best

  • @arabmidia
    @arabmidia Месяц назад

    Thanks

  • @jdabbasi990
    @jdabbasi990 2 месяца назад

    Bravo

  • @ichbleibich
    @ichbleibich 2 месяца назад

    Where can i buy this cool flutter plush bird, please?

  • @RandalLSchwartz
    @RandalLSchwartz 2 месяца назад

    at 04:29, the problem with using a record here instead of a real class is that your extension now applies to anything with the shape of (int, Panel), not just the specific pseudo-class you created, since typedefs are pure aliases, not new types. You've effectively written an extension "on (int, Panel)" generically.

  • @BekirTaskn
    @BekirTaskn 18 дней назад

    Is there any shared example code for this?

  • @ridwanoyeniyi8543
    @ridwanoyeniyi8543 2 месяца назад

    I built similar functionality without using any other packages, other than Draggable widget from flutter and riverpod state management...

  • @jongwoolim616
    @jongwoolim616 Месяц назад

    Can I use this package for mobile app development?

    • @jongwoolim616
      @jongwoolim616 Месяц назад

      Even after adding myDraggableWidget, I still have broken UI on preview (when I start dragging data). Why is this happening and any solutions to this on mobile app?

    • @jongwoolim616
      @jongwoolim616 Месяц назад

      It seems like dragItemProvider is not called when I try to drag things around.

  • @victoraul1
    @victoraul1 2 месяца назад

    nice, could this work on a web browser

    • @mikopiko
      @mikopiko 2 месяца назад

      Yeah, I am pretty sure it can

  • @irreman3361
    @irreman3361 Месяц назад

    is this supposed to e a desktop app

  • @bennorolls
    @bennorolls 2 месяца назад

    (click) Nice!

  • @BooleanDev
    @BooleanDev 2 месяца назад

    is the source code available on github?

    • @mikopiko
      @mikopiko 2 месяца назад

      Doesn't look like it

  • @serkandemir6733
    @serkandemir6733 2 месяца назад

    Navigation for responsive Apps

  • @mortysmith666
    @mortysmith666 2 месяца назад

    What's that dollar syntax

    • @mikopiko
      @mikopiko 2 месяца назад

      You mean the string interpolation part?

    • @randomlee101
      @randomlee101 2 месяца назад +2

      ​@mikopiko I think morty's referring to the positional reference on the 'Records'

    • @davidowens9597
      @davidowens9597 2 месяца назад +2

      Records. The first item in a record can be accessed using .$1 Second would be .$2 and so on.

  • @anlumo1
    @anlumo1 2 месяца назад +13

    Why is this functionality not contained in Flutter itself? That's a rather big hole for desktop applications.
    The built-in drag & drop support is completely unusable for desktop development (ticket 130423).

    • @BooleanDev
      @BooleanDev 2 месяца назад +1

      the team has higher priority tickets for desktop, such as multi window

    • @BooleanDev
      @BooleanDev 2 месяца назад +1

      and platform views

    • @mikopiko
      @mikopiko 2 месяца назад +2

      Maybe to keep the SDK size low?

  • @gob5964
    @gob5964 2 месяца назад

    @Flutter I'm having a hard time trying to manage oAuth in my flutter app.
    - trying to refresh accessToken via a RefreshToken in a TokenInterceptor
    - problems to manage multiple API calls made in parrallel (very same time) from UI to feed a home screen
    Would you (or anyone) have a video or link to help me on this ?
    Thanks in advance.

    • @mikopiko
      @mikopiko 2 месяца назад

      Didn't stackoverflow have an answer?

    • @gob5964
      @gob5964 2 месяца назад

      @@mikopiko not really no cause it tells about .lock/?unlock but this isnt enough...
      Maybe a Completer() but dont know how it works ATM...

  • @jdabbasi990
    @jdabbasi990 2 месяца назад

    Bring back Kenzie Davison

  • @ibrahimalshmrani8216
    @ibrahimalshmrani8216 2 месяца назад

    Flutter is my brother

  • @jakerawk
    @jakerawk 2 месяца назад

    Should talk about the native parts being written in rust

  • @mobiledev619
    @mobiledev619 Месяц назад

    how can open new window on flutter desktop ?

  • @abdulqayyumisahak5190
    @abdulqayyumisahak5190 2 месяца назад

    Hello sir really appreciated your video sir.. but i got an error message 'null check operator used on a null value" .Hope can help me solve this problem. Thank you in advance.
    if(dragStartCopy?.$2 == dropPreviewCopy?.$2){
    itemsCopy.removeAt(dragStartCopy!.$1);
    dragStartCopy = null;
    }