Flutter Drag & Drop for Two-Year-Olds

แชร์
ฝัง
  • เผยแพร่เมื่อ 23 ก.ย. 2024
  • Build a drag & drop 🖖 UI in the form of a simple color-matching kid's game. Master the basics of Flutter's Draggable and DragTarget widgets fireship.io/le...
    - Draggable docs.flutter.i...
    - DragTarget docs.flutter.i...
    #flutter

ความคิดเห็น • 62

  • @narcodico
    @narcodico 5 ปีที่แล้ว +41

    I like how Jeff keeps sprinkling some dev humor here and there!

  • @mujeebishaque
    @mujeebishaque 5 ปีที่แล้ว +8

    If you jump in the well, I will follow you there, this is how much I love your content. I don't click the notifications for other channels but when it's Jeff, gotta compromise. I will even sacrifice food over your video. trust me on this one, I am doing this right now.

  • @alex.x8782
    @alex.x8782 หลายเดือนก่อน

    My 2-year-old totally gets Flutter's DragTarget and Draggable widgets, especially the onAccept callback. Next challenge: state management!

  • @lordswaggity1213
    @lordswaggity1213 5 ปีที่แล้ว +30

    Waiting for your flutter course :)

    • @Fireship
      @Fireship  5 ปีที่แล้ว +11

      Soon... I always underestimate how much work they require.

    • @lordswaggity1213
      @lordswaggity1213 5 ปีที่แล้ว +3

      Take your time with it 🙂

    • @mohanbarman5982
      @mohanbarman5982 5 ปีที่แล้ว +3

      @@Fireship will you upload your course on youtube?

  • @911madza
    @911madza 5 ปีที่แล้ว +7

    Great example on how to get project ideas from real life situations :)
    There are no doubts in my mind your a proud and caring dad :)

    • @Fireship
      @Fireship  5 ปีที่แล้ว +5

      Thanks! Kids are fun, they really change your perspective on life (and coding).

  • @fanynieto6365
    @fanynieto6365 3 ปีที่แล้ว +1

    This is so cool. Keep going!!! Saludos desde colombia 🇨🇴

  • @ibrahemtaha8177
    @ibrahemtaha8177 3 ปีที่แล้ว +2

    Amazing pro!!! please more Drag Drop tutorials like that!!! Many Thanks!

  • @RobertBrunhage
    @RobertBrunhage 5 ปีที่แล้ว +3

    Great video once again, keep it up :)

  • @AyorindeAdesugba
    @AyorindeAdesugba 5 ปีที่แล้ว +3

    Looking forward to your premium Flutter course? Any updates?

  • @mawulijo
    @mawulijo 5 ปีที่แล้ว +1

    Yet another glimpse of hope for joining this flutter train. Awesome work mate

  • @FabricioLoupias
    @FabricioLoupias 5 ปีที่แล้ว +1

    It would be nice to see how to do to maintain the status of the widget when you use BottomNavigation, changing the views are to reload the widget. In addition to that while using Firebase to show data in that view. I did not find anything reliable to develop it. it's quite complex

  • @RageBasterd
    @RageBasterd 5 ปีที่แล้ว

    loving your flutter content

  • @mtux
    @mtux 5 ปีที่แล้ว +1

    very good video, very thanks!!

  • @samirphuyal4956
    @samirphuyal4956 5 ปีที่แล้ว +1

    What about your flutter course?
    Waiting for it

  • @muhammadyasser9929
    @muhammadyasser9929 5 ปีที่แล้ว +1

    Thanks for the tutorial.

  • @darshangowda309
    @darshangowda309 5 ปีที่แล้ว +6

    awesome :D

  • @Chriscs7
    @Chriscs7 10 หลายเดือนก่อน

    make a video of this + animations of pushing the other blocks around while being dragged

  • @timothyjones3798
    @timothyjones3798 5 ปีที่แล้ว

    hey fireship great vid, what emulator do you use?i have been having alot of issues setting up mine.honestly need some help

  • @AvinashSingh-nq5ud
    @AvinashSingh-nq5ud 5 ปีที่แล้ว

    Always waiting for your videos. Love your tutorials

  • @MsSebaastian
    @MsSebaastian 5 ปีที่แล้ว +1

    Once again Fireship with a great video like always, keep it up bro your the best !

  • @matthewtrent5339
    @matthewtrent5339 4 ปีที่แล้ว +1

    Is it possible to make it where it is only possible for the user to drag 1 thing at a time?

    • @irquaternion
      @irquaternion 4 ปีที่แล้ว

      Theres 'onDragStarted' and 'onDragCompleted' callbacks which could be used to setState a bool to govern this behaviour, I think.

  • @putopavel
    @putopavel 5 ปีที่แล้ว

    I'd love to see a sortable ListView example

  • @ammarmughal91
    @ammarmughal91 5 ปีที่แล้ว +5

    where do you upload your complete courses?

    • @Fireship
      @Fireship  5 ปีที่แล้ว

      fireship.io/courses/

  • @aungkyawsoe6897
    @aungkyawsoe6897 3 ปีที่แล้ว

    Thank you very much!

  • @nowhynot7711
    @nowhynot7711 4 ปีที่แล้ว

    Wow perfect example to learn Drag and drop and great logic

  • @thefe4fe
    @thefe4fe 5 ปีที่แล้ว

    What is the length of the newly released course "Flutter Firebase - The Full Course"? Would help to add durations for the videos.

    • @Fireship
      @Fireship  5 ปีที่แล้ว +1

      The average video length is about 4 min and there are 32 of them... I will try to add lengths to the UI soon.

  • @beriu3512
    @beriu3512 5 ปีที่แล้ว +1

    I'm a bit confused maybe someone can point me in the right direction, Flutter is a framework for Dart ? And is Dart a new language for Mobile Development ? And is there a reason why this language has emerged ? Like performance or the need for cross-platform ?

    • @Fireship
      @Fireship  5 ปีที่แล้ว +3

      Dart (language) and Flutter (framework) are successful at cross platform mobile dev for serveral reasons IMO - simplicity, type safety, & performance. Start here th-cam.com/video/7sJZi0grFR4/w-d-xo.html

    • @nash9785
      @nash9785 5 ปีที่แล้ว +8

      Flutter is a framework for building apps similar to React Native but with a few key differences. One of the most notable differences is in the language used. While React Native uses JavaScript, Flutter uses Dart, a relatively new but battle tested language (used to power AdMob and AdWords via Angular Dart). Dart was introduced back in 2012 and was meant to be a replacement for JS. In August 2018, the language got a major update which introduced a static type system by default (was optionally in Dart 1).
      Dart isn’t a mobile only language, it can be compiled to JavaScript and has a VM allowing it to be run on servers. As I mentioned before, there is a Dart flavor of Angular which can be used to build web apps.
      The language can be compiled using both JIT (Just In Time) and AOT (Ahead of Time). Flutter takes advantage of this to power it’s hot reload. While developing, new code is compiled using JIT and immediately pushed to the device resulting in sub second hot reload and restarts. When you’re finished developing and ready to build your prod apk/ipa, the compiler uses AOT to properly optimize your code. Dart uses a tree shaking compiler so only the parts that you actually use are compiled into the final binary. Release code is native arm binary and unlike React Native, does not require a vm since there is no interpreted code.
      Hope this helps :)

  • @muhammadshahrukh8740
    @muhammadshahrukh8740 ปีที่แล้ว

    How to use emoji in Flutter?

  • @XQzmeeMusic
    @XQzmeeMusic 5 ปีที่แล้ว

    Could you clone pianotiles with flutter?

  • @mahmudizukri
    @mahmudizukri 4 ปีที่แล้ว

    I'd love if its a from scratch tutorial cause it'll be easier for me to understand

  • @LUOSH1
    @LUOSH1 4 ปีที่แล้ว

    Hey there, what's the name of the background song?

  • @skipmonday6467
    @skipmonday6467 5 ปีที่แล้ว

    i can't wait

  • @lukhanwolf6019
    @lukhanwolf6019 3 ปีที่แล้ว

    How we can make game level?

  • @dhyanais
    @dhyanais 5 ปีที่แล้ว +1

    Is this app on Github?

    • @Fireship
      @Fireship  5 ปีที่แล้ว +1

      Yes, GitHub link can always be found on the fireship lesson page.

  • @HDuser100
    @HDuser100 5 ปีที่แล้ว +1

    This is my first time looking at Dart code a d holy shit does it look messy. I will stick to learning Kotlin for now, maybe visit this again in the long future.

  • @frenches1995
    @frenches1995 4 ปีที่แล้ว

    Is it only me or did someone else also expectet something like Scratch programming with drag and drop codeblocks to make an app?

  • @annihilate2479
    @annihilate2479 2 ปีที่แล้ว

    0:04 so funny

  • @ShinEduKen
    @ShinEduKen 5 ปีที่แล้ว

    Are you sure you're not Stephen Grider?

  • @uzairleo2910
    @uzairleo2910 4 ปีที่แล้ว

    wow amazing i need source code

  • @ksgamingYT17
    @ksgamingYT17 5 ปีที่แล้ว

    How are you setting the emojis?

    • @Fireship
      @Fireship  5 ปีที่แล้ว +1

      They are just strings, you can copy them from emojipedia.com

    • @ksgamingYT17
      @ksgamingYT17 5 ปีที่แล้ว

      @@Fireship that's helpful :]

  • @nemanjasubotin5465
    @nemanjasubotin5465 5 ปีที่แล้ว

    Bro Jeff honestly i subscribed to this channel so i can learn as much as possible from angular and firebse, javascript lessons are also very nice. But i really hate this svelte, flutter, and devops related videos, i know you are earning an extra amount of money by distributing google products, but bro, its FIRESHIP :)

  • @victornweze7230
    @victornweze7230 5 ปีที่แล้ว

    Cool

  • @jiren8991
    @jiren8991 4 ปีที่แล้ว

    Repo? 😕 😕

  • @nykse
    @nykse 3 ปีที่แล้ว

    so complex

  • @karthick144
    @karthick144 5 ปีที่แล้ว

    3rd comment

  • @glennv.merkel3020
    @glennv.merkel3020 5 ปีที่แล้ว

    2ND COMMENT

  • @Ticnoticos
    @Ticnoticos 2 ปีที่แล้ว

    07:50 May be some of all you got trouble whit the .play
    so try this:
    _audioController.load('success.mp3');