Mixins in Dart - Understand Dart & Flutter Fundamentals (Tutorial)

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 ธ.ค. 2024

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

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

    I love these dart basics videos ... please do more bruv

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

    "Now, this is entirely possible, which should not be possible because... it's stupid"
    I lost it there. That was just hilarious for some reason. Great tutorials. Great explanations that keep things relevant, to the point, and are easy to follow and understand. Keep up the good work.

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

    Nice one! Between the two of us we'll probably cover everything in Flutter for developers to build production ready apps 😁

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

      I definitely hope so!

    • @nanisamireddy
      @nanisamireddy 3 ปีที่แล้ว +4

      You two are awesome... I learnt 0 to building apps in flutter from both you guys....😁😁

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

      @@nanisamireddy Doooooooooope!

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

      @@FilledStacks 😁😉

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

    I love this style of tutorials! Super simple to understand and great use of examples with the occasional hilarious dry commentary. Thank you for taking time to explain so clearly to dart noobs like me and keep up the good work! :)

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

      I'm happy you like this format!

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

    I like this teacher, very patient, never tired of explanation.

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

    You have a unique talent for keeping the right pace. The quality of content is amazing. I am looking forward to learning more about Dart and Flutter in the coming days and weeks. I am sure your content will be of great help to me in my journey. Thank you very much.

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

    Thanks man. Your flutter tutorials are enjoyably clear.

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

    You couldnt have a chose a better example. Really loved the explanation.

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

    I'm so glad I came across your channel. Very high quality videos, which have been very useful in developing my current Flutter app

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

    Best 13 minute video ever.

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

    This is nice. For self taught beginner programmers like me who last coded in pascal an eon ago, these videos do come in handy. Please do more of these if you can. The community salutes you.

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

    You have a great knack for explaining tricky concepts in a simple way - great video

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

    One of the best explanation for mixins!!

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

    Great content! Really helped me grasp the concept of Mixins. The examples were perfect. Keep up the good work!

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

    Thank you sir this got me more clear on classes and mixins.❤❤❤❤

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

    Awesome!!! I learned a lot about birds! ;-) Really!

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

    Now finally understood when to usr mixins😌.
    All thanx to you man🙏🏻✌

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

    Top Notch quality tutorial man. Hat's off to you. I understand every f**king thing.

  • @Ed-yp9mh
    @Ed-yp9mh 2 ปีที่แล้ว

    Makes sense 🙂. Thank you for this very nice tutorial.

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

    11:00 Hi! Just trying to complement here: I think it should be a good moment to say that peck() may have had chirp() as a dependency injection bc not all birds can chirp!

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

    Thanks, easy to understand your explanation.

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

    simply fantastic explanations

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

    Very nice examples thank you ❤❤❤❤❤❤❤❤

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

    fantastic explanation! keep them coming!

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

    Amazing content!

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

    it's really like the trait in scala

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

    You are awesome, high quality content, thanks!

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

    Great tutorial !

  • @amber.k
    @amber.k 3 ปีที่แล้ว +1

    But my doubt is we CAN implement too? And do it multiple in case of interfaces. And each class can provide their own implementation with that behaviour method. Then why mixins? I understand the need for composition, other languages do ir too.

  • @user-or7ji5hv8y
    @user-or7ji5hv8y 3 ปีที่แล้ว

    concise and clear.

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

    Exceptional tutorial! 🥇

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

    When would you use a mixin instead of an interface? Are they interchangeable? Or is more of a semantics issue? "Mixin is just something the object can do, Interface is a contract, something you know the object will do" ?

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

    Oh crap! My scoped model pattern with multiple mixins and one AppModule suddenly makes sense!

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

    Just awesome .

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

    Nice tutorial nice explanation with mixin and on...😍😍😍😍

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

    please do more dart andplayslist

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

    is it possible for mixin to have an inherited variable? i it in a test in the same file, but i move the mixin in a separate file - it can't see the mixin variable ??

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

    Please make a video that explain the factory constructor 🙏

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

    thx clear explanation

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

    Thx for the video. BTW, only female mosquitoes, and only when producing eggs, are the ones that sucks blood.

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

    if two mixins have same method name then how can we call the desired method

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

    I watched a video recently about why OOP is from the devil. And this pretty much demonstrates this. It seems you can do the same functionality in procedural code using just functions without any classes. If you have a fly that needs the functionality of buzzing and a mosquito that needs the same functionality you can just pass them as an argument to a 'buzz' function. And you won't have the luggage of object chains dragging behind you. In this example, you need a class for a fly, a class for a mosquito, an abstract class for flying insects. Not to mention other classes like flying animals that can buzz or whatever else.(I know this is done specifically for this example to illustrate the use of mixins, but those examples do exist in real life) And you need to think about this hierarchy constantly. How come it's not better to have a simple struct that houses the raw data of the fly or bee or whatever you want. Have a simple function 'buzz'. And pass that struct to this function without any classes involved.

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

    Thanks for the video. Can a mixin be available to multiple classes? (means multiple classes can be used with "on" keyword ?
    Pecking on Bird, AirBorneInsects{ ... }

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

    is mixing used for only methods or they can be used on properties too

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

    Thanks Nice work

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

    Nice animal this Swallow thing is. Is it a mamal?

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

    may I know., what is you theme though?

  • @Noone-ig5ui
    @Noone-ig5ui 4 ปีที่แล้ว

    What font are you using in your vscode?

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

    Great video! What microphone are you using for your videos? The sound quality is amazing!

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

      Thanks! I use Rode NT-1A, most of my previous videos used Auna Mic 900B

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

    is it a good idea to make an entity component systems where each component is a mixin?

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

    Well explained 👍

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

      I'm glad it helped you!

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

    Wait a second, Abstract methods can not have a return body how is your can ? ( pls answer I am very confused now )

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

    helpful ❤️
    it seems u got good knowledge about birds then flutter 😅

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

    I think you forgot to delete void flutter() from abstract class Bird even when it is with Fluttering. There is duplication, right? 09:19

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

      Oh, of course I forgot!

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

    you are amazing

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

    Awesome

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

    thanks. What software do you use to make these videos (ie. how do you add the swallow pic and the talk bubble)

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

      Premiere Pro for editing and OBS for recording.

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

    This video is so funny 😂

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

    1:44 what a method name! 😂

  • @A.A.
    @A.A. 4 ปีที่แล้ว

    Beauuuutiful

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

    Hey awesome brother ! anyone from Tenerife and working on flutter or wants to learn how to do it? Hola! Alguien vive en tenerife ?

  • @kishanbhuta3009
    @kishanbhuta3009 7 หลายเดือนก่อน

    why cant we just do like :-
    abstract class Bird extends AirborneInsect {
    void chirp() {
    print('chirping');
    }
    }

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

    Reso, no more lessons on Kotlin?

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

    This is how we need our college to teach us.😅

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

    Mixin = merging

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

    It's called Traits in PHP world!. Mixins = Traits😆 PHP Guys...