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

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

Reso Coder

5 лет назад

65,720 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@mustafashaikh7829
@mustafashaikh7829 - 23.09.2019 19:31

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

Ответить
@RIAJULISLAMI
@RIAJULISLAMI - 28.09.2019 17:27

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

Ответить
@hectorprx
@hectorprx - 19.11.2019 23:22

Thanks Nice work

Ответить
@ankitkharb8806
@ankitkharb8806 - 07.12.2019 06:14

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

Ответить
@venkateshk2552
@venkateshk2552 - 28.12.2019 05:26

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.

Ответить
@idlevandal69
@idlevandal69 - 04.01.2020 09:40

Exceptional tutorial! 🥇

Ответить
@converter
@converter - 28.01.2020 22:31

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

Ответить
@ajaykotiyal427
@ajaykotiyal427 - 23.03.2020 03:47

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{ ... }

Ответить
@hammadpervez4568
@hammadpervez4568 - 30.03.2020 07:08

you are amazing

Ответить
@benq400
@benq400 - 14.05.2020 14:54

Awesome

Ответить
@Budapestitest
@Budapestitest - 18.05.2020 15:29

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

Ответить
@Noone-ig5ui
@Noone-ig5ui - 26.05.2020 15:42

What font are you using in your vscode?

Ответить
@thecodepapaya
@thecodepapaya - 01.06.2020 20:33

One of the best explanation for mixins!!

Ответить
@thanusan
@thanusan - 11.06.2020 03:24

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

Ответить
@DevYahia
@DevYahia - 07.07.2020 12:30

You are awesome, high quality content, thanks!

Ответить
@A.A.
@A.A. - 09.07.2020 13:36

Beauuuutiful

Ответить
@juanvieira8249
@juanvieira8249 - 06.08.2020 15:11

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" ?

Ответить
@matthiassweertvaegher
@matthiassweertvaegher - 29.08.2020 12:54

This video is so funny 😂

Ответить
@CristianMolina
@CristianMolina - 04.09.2020 15:17

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

Ответить
@TheWolverine1984
@TheWolverine1984 - 03.10.2020 18:20

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.

Ответить
@SergioArroyoSailing
@SergioArroyoSailing - 10.10.2020 02:54

fantastic explanation! keep them coming!

Ответить
@rutviktak716
@rutviktak716 - 20.10.2020 14:47

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

Ответить
@stheo9084
@stheo9084 - 09.11.2020 16:19

simply fantastic explanations

Ответить
@NaveenViews
@NaveenViews - 22.11.2020 07:45

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

Ответить
@keweiwang1449
@keweiwang1449 - 24.11.2020 17:52

it's really like the trait in scala

Ответить
@stackiller1715
@stackiller1715 - 25.11.2020 04:16

Thanks, easy to understand your explanation.

Ответить
@amber.k
@amber.k - 11.01.2021 10:28

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.

Ответить
@saliouseck4263
@saliouseck4263 - 14.03.2021 11:39

thx clear explanation

Ответить
@user-or7ji5hv8y
@user-or7ji5hv8y - 30.03.2021 09:30

concise and clear.

Ответить
@sivavenkateshr
@sivavenkateshr - 08.06.2021 05:57

Just awesome .

Ответить
@davidagyakwa288
@davidagyakwa288 - 09.06.2021 19:20

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

Ответить
@albanr8028
@albanr8028 - 01.07.2021 14:24

Great tutorial !

Ответить
@nhat4359
@nhat4359 - 02.09.2021 20:41

Amazing content!

Ответить
@adityapawar8048
@adityapawar8048 - 07.10.2021 15:10

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

Ответить
@congtoannguyen1940
@congtoannguyen1940 - 04.11.2021 06:58

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

Ответить
@osaaluko
@osaaluko - 15.02.2022 17:32

Thanks man. Your flutter tutorials are enjoyably clear.

Ответить
@alnaskabeer1361
@alnaskabeer1361 - 21.03.2022 11:39

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

Ответить
@sawood2010
@sawood2010 - 06.05.2022 04:48

Best 13 minute video ever.

Ответить
@nakamuraaryuna3841
@nakamuraaryuna3841 - 06.06.2022 15:58

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

Ответить
@qolbinurwandi
@qolbinurwandi - 20.08.2022 19:25

may I know., what is you theme though?

Ответить
@chrise202
@chrise202 - 26.08.2022 00:02

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

Ответить
@Ed-yp9mh
@Ed-yp9mh - 22.09.2022 08:25

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

Ответить
@guilhermealecrim1135
@guilhermealecrim1135 - 06.10.2022 03:09

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

Ответить
@henrytan5707
@henrytan5707 - 07.10.2022 06:04

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

Ответить
@abdelemjid_essaid
@abdelemjid_essaid - 10.02.2023 17:06

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

Ответить
@ershahidnabi
@ershahidnabi - 22.02.2023 12:42

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

Ответить
@akhilessuvarna9182
@akhilessuvarna9182 - 16.03.2023 09:53

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

Ответить
@kishanbhuta3009
@kishanbhuta3009 - 04.05.2024 17:49

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

Ответить