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 - Наука
Subscribe to Flutter → goo.gle/FlutterYT
Absolute gold. I wouldn't have minded if this was 40 minutes to an hour long.
They already have hours long streams, I think 20 minutes is good
This guy talks so smooth, it's enjoyable to watch him explain stuff. 👍
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.
I just searched for this a few hours ago. Now you have created the content.
I was just thinking about this a few hours ago, even more impressing.
Is Google involved in this? We are all under the hood of this giant.
@@dmitry.skibitsky I don't think Google can read my mind
@@vasorotto19"ok lets go personal google ads" --google founder, maybe lol
We got a requirement regarding this and now the content is here. Wow!
Awesome work.
Flutter Keep Grows Widely :O
Thanks, continue to evolve Flutter Web
awsome presentation bro
Definitely useful!
nice work
Excellent
Love this framework.
Expecting more for Flutter web
Flutter is the best
Thanks
Bravo
Where can i buy this cool flutter plush bird, please?
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.
Is there any shared example code for this?
I built similar functionality without using any other packages, other than Draggable widget from flutter and riverpod state management...
Can I use this package for mobile app development?
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?
It seems like dragItemProvider is not called when I try to drag things around.
nice, could this work on a web browser
Yeah, I am pretty sure it can
is this supposed to e a desktop app
(click) Nice!
is the source code available on github?
Doesn't look like it
Navigation for responsive Apps
What's that dollar syntax
You mean the string interpolation part?
@mikopiko I think morty's referring to the positional reference on the 'Records'
Records. The first item in a record can be accessed using .$1 Second would be .$2 and so on.
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).
the team has higher priority tickets for desktop, such as multi window
and platform views
Maybe to keep the SDK size low?
@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.
Didn't stackoverflow have an answer?
@@mikopiko not really no cause it tells about .lock/?unlock but this isnt enough...
Maybe a Completer() but dont know how it works ATM...
Bring back Kenzie Davison
Teenxxx
Flutter is my brother
Should talk about the native parts being written in rust
Is it?
how can open new window on flutter desktop ?
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;
}