Dart Streams - Flutter in Focus

  Рет қаралды 263,163

Flutter

Flutter

Күн бұрын

Пікірлер: 117
@thijsoudeavenhuis999
@thijsoudeavenhuis999 5 жыл бұрын
These videos are really helpful. Please keep making more of this useful content. I am starting to love flutter/dart more and more.
@frankemeli5918
@frankemeli5918 5 жыл бұрын
I just love Andrew so much. His presentation is always clean and straight to the point. Thanks man!
@Mabidakun
@Mabidakun 4 жыл бұрын
The whole team involved in the creation of these videos should be very proud of themselves. These videos are amazingly easy to follow and understand. Well done.
@mahmud-ahsan
@mahmud-ahsan 5 жыл бұрын
Elegant way to describe the stream and related features. Thank you.
@QueirozVini
@QueirozVini 3 жыл бұрын
This video is incredibly didactic. Clear, concise, and complete. Thank you!
@joelgimenez
@joelgimenez 4 жыл бұрын
Actually masterfully explained.
@WilsonSilva90
@WilsonSilva90 5 жыл бұрын
If it wasn't for these videos, I wouldn't consider Dart. Thank you, Andrew.
@CprkMagicMoves
@CprkMagicMoves 5 жыл бұрын
Really awesome widgets of flutter. Streams concept is very nice.
@hanifshahy
@hanifshahy Жыл бұрын
Thanks alot! in this video I found how to solve `Bad state: Stream has already been listened to.` error.
@bikkikumarsha
@bikkikumarsha 4 жыл бұрын
Awsome as always. One of the world's best teacher. To the Point.
@hanifshahy
@hanifshahy Жыл бұрын
This video worths ten times to watch.
@jaanaan143
@jaanaan143 2 жыл бұрын
One of the best intro for Streams.
@gamedeathmatch
@gamedeathmatch 2 жыл бұрын
This literally helped me solve a problem I have been stuck on for 3 hours, thanks
@rebarius
@rebarius 5 жыл бұрын
daaaaaaamn 👌🏼 i just used the streambuilder before that video, but the where and map functions are helping me a lot here 👌🏼
@paralysekid
@paralysekid Жыл бұрын
Very nice presentation, easy to understand and with helpful visuals for each step. Thanks.
@marcoantonio7648
@marcoantonio7648 4 жыл бұрын
the redux part (which can avoid the use of == overwriting in some cases) and the stream controller was amazing!
@Lamarsh67
@Lamarsh67 4 жыл бұрын
Great video! Thanks for the clean and simple explanation.
@dam.s
@dam.s 3 жыл бұрын
Excellent presentation, superb video.
@eduardofulgencio741
@eduardofulgencio741 4 ай бұрын
Muy útil este video. Me anima a ver mas en este canal. Gracias
@MohamedAli-vr9mw
@MohamedAli-vr9mw 4 жыл бұрын
This man should get Oscar in explaining difficult topics
@kos9k46
@kos9k46 5 жыл бұрын
so good rubric, thank you so much for your work
@MyGarvas
@MyGarvas 5 жыл бұрын
Thanks so much, fantastic content. Greetings from Brazil.
@akhilrajnambiar2080
@akhilrajnambiar2080 2 жыл бұрын
Could these explanations be any more simpler!! Just awesome 🔥🔥
@batuhankrbb
@batuhankrbb 3 жыл бұрын
You're killing it
@saqib399
@saqib399 2 жыл бұрын
Very Helpful
@dmitriiegorov1888
@dmitriiegorov1888 4 жыл бұрын
Thanks a lot for your explanation of Stream. It seemed hard at first, but a bit later it has become very clear.
@jagdishshetty4782
@jagdishshetty4782 4 жыл бұрын
Great explanation. Thx !!!
@chandranathgupta4500
@chandranathgupta4500 4 жыл бұрын
Nice Explanation. Thank you
@brianl6329
@brianl6329 3 жыл бұрын
Fantastic. Thankful.
@josiahsaunders4936
@josiahsaunders4936 4 жыл бұрын
VERY clear and helpful :) Thank you!
@HandikaHarisaputra
@HandikaHarisaputra 4 жыл бұрын
Thank you for the information, sir
@juanmamani2110
@juanmamani2110 2 жыл бұрын
I should fall in love with Dart Streams.
@mobiledev5295
@mobiledev5295 2 жыл бұрын
how to end one?
@maxan2121
@maxan2121 3 жыл бұрын
너무나 유익한 강의 감사합니다!
@yuchen52
@yuchen52 4 жыл бұрын
that's incredible clear!
@Build_the_Future
@Build_the_Future 3 жыл бұрын
How would you receive and transmit to a Socket coming from a particular IP and port?
@abou3542
@abou3542 5 жыл бұрын
Great Post !!! Beautiful t-shirt
@FlutterExplained
@FlutterExplained 5 жыл бұрын
Great video :) thanks for sharing. Knows someone where I get that flutter / dart shirt?
@fabianosantana6052
@fabianosantana6052 5 жыл бұрын
I love this videos, I so helpful
@baskee
@baskee 5 жыл бұрын
This videos are so good!
@tawsan646
@tawsan646 3 жыл бұрын
thank you Sir.
@hossameldinmahmoud5768
@hossameldinmahmoud5768 4 жыл бұрын
Great video, but how can I compare between streams in unit testing?
@algeriennesaffaires7017
@algeriennesaffaires7017 4 жыл бұрын
Streams are used for what any example please?
@user.wioelogj3
@user.wioelogj3 5 жыл бұрын
Hi Andrew, thank you for videos on this topic! I have a question. Does StreamController consume a lot of resources? Is it okay to have like several hundreds, maybe one thousand of active controllers in a mobile app?
@andrewbrogdon558
@andrewbrogdon558 5 жыл бұрын
Dart is an open source language, so you can actually see the code for StreamControlle: github.com/dart-lang/sdk/blob/master/sdk/lib/async/stream_controller.dart It's built for efficiency, certainly, though I've never tried more than a dozen or so controllers at once in an app. You should consider building one yourself with a thousand StreamControllers just to see how well it performs, and then post the results on GitHub. :)
@user.wioelogj3
@user.wioelogj3 5 жыл бұрын
@@andrewbrogdon558 Thank you!
@nahideducational
@nahideducational Жыл бұрын
nice explanation
@RaitonGG
@RaitonGG 4 жыл бұрын
is it possible to "stream" videos from youtube v3 api? or does it only support gets?
@AceHardy
@AceHardy 5 жыл бұрын
🚀💯
@rezaasgary1442
@rezaasgary1442 5 жыл бұрын
This is so helpfull thanks
@valentingarcia2246
@valentingarcia2246 3 жыл бұрын
great video
@mikem7084
@mikem7084 4 жыл бұрын
These videos make google technologies take over so fast
@zurabn1281
@zurabn1281 4 жыл бұрын
Nice, really nice.
@heshansandeepa9471
@heshansandeepa9471 2 жыл бұрын
very nice
@naderkhaled9410
@naderkhaled9410 5 жыл бұрын
So to understand it better : A Stream is typically a List of Asynchronous Operations or values right ?
@andrewbrogdon558
@andrewbrogdon558 5 жыл бұрын
I usually compare streams to iterators, because both of them provide values in sequence and don't let you backtrack. It sounds like you've got the idea though: a stream is just a thing that can provide multiple values over time, asynchronously.
@ehsanhasin
@ehsanhasin Жыл бұрын
thank you
@jakubiwanicki8884
@jakubiwanicki8884 2 жыл бұрын
thank u bro
@kentthomas1045
@kentthomas1045 3 жыл бұрын
I'm trying to implement a stream as a number showing up in a container, are there any tutorials on this?
@emdadgar_official
@emdadgar_official 2 жыл бұрын
any suggest to dive into deep stream projects and understand more ?
@rullyalves7163
@rullyalves7163 5 жыл бұрын
Thank you very much for the video, very explanatory, but I have a doubt: I always initialize the Future / Stream objects in initState, to prevent them from being recreated every call of the build method, in the video I notice that the functions that return Future / Stream theoretically are called inside the build method, thus creating these objects with each build, what would be the best way to use it?
@arthurdenner7
@arthurdenner7 5 жыл бұрын
Hi Rully! If I understand your question correctly, one approach to prevent the Future from firing in every build is to use AsyncMemoizer. Check this link: medium.com/saugo360/flutter-my-futurebuilder-keeps-firing-6e774830bc2
@andrewbrogdon558
@andrewbrogdon558 5 жыл бұрын
Great question. In these videos, we're often forced to shorthand some things and/or leave out details in order to get the code down to a size that actually fits on the screen (see 7:12 for an example of how hard this can be). As a result there are times when we show something like the FutureBuilder at 6:38 that looks like it's initializing a new network request on every build. That wouldn't be a good practice, but the point of that slide is mostly just to show that FutureBuilder takes a Future and a builder, and anyone who sees the name "_fetchNetworkData" can hopeful recognize it as a stand-in for something more sophisticated. That said, you're completely correct that under normal conditions, you don't want to be creating Futures in a build method. Flutter expects build methods to be fast and side effect free, because it needs to be able to call them often (sometimes in ways that can be surprising -- try tracing the builds caused by a Navigator pushing and popping routes some time). As a result, if you're actually *creating* a Future or Stream, it's probably best done in a State object's initState, a class held by an InheritedWidget, or something like that.
@andreujuanc
@andreujuanc 5 жыл бұрын
Dart is so elegant man.
@petrushoc
@petrushoc 5 жыл бұрын
LOVE RXDART
@alexneeky7920
@alexneeky7920 5 жыл бұрын
very good video, more real life examples would be great though
@dhavalparmar9554
@dhavalparmar9554 4 жыл бұрын
I have a nested firebase collection in my flutter app . I want to listen to the inner collection. How can I achieved that with a stream builder.
@GeekyGagan
@GeekyGagan 5 жыл бұрын
awesome!!!
@marcinadamczewski6067
@marcinadamczewski6067 5 жыл бұрын
You said that the `cancelOnError` is true by default. Looks like it is false by default, which is quite important to remember about :)
@angelhdzdev
@angelhdzdev 4 жыл бұрын
That's what the official documentation is for. This person is just using his free time and effort, to explain in detail FOR FREE for people that are lazy to learn by themselves, so, it's totally valid that they could confuse some things at times. It's your responsibility to read the manuals, instructions, etc. And even sometimes, instructions have errors/mistakes, because we are humans, we make mistakes. So if you find something wrong, you have the responsibility of KINDLY letting them know to fix it, not being all entitled and offended because "the teacher dared to make a mistake".
@marcinadamczewski6067
@marcinadamczewski6067 4 жыл бұрын
@@angelhdzdev Take it easy man. I just mentioned the mistake so others can see that or the author could add an annotation to the video. I can't see anything unkind or offending here. I'm not a native english speaker though so let me know what is wrong :)
@Klazyo
@Klazyo 4 жыл бұрын
thanks
@rajdipsarvaia6641
@rajdipsarvaia6641 2 жыл бұрын
i create Stream to listen notification and i want to send reply to those notification how i am suppose to do that?
@saguoran
@saguoran 5 жыл бұрын
I tried the stream, but I could use the streamController the add data, why do we need the sink to add data?
@dhamodharanm1810
@dhamodharanm1810 3 жыл бұрын
I am using background location, from the location callback I am adding the stream but even though the app is in foreground the listener is not working. How to send data/trigger from background location callback to foreground screen
@mohitmodh5584
@mohitmodh5584 4 жыл бұрын
i am not getting how to use "asBroadCastStream" , I can't find any proper example regarding that.
@segundojaramilloromero9909
@segundojaramilloromero9909 4 жыл бұрын
how to stop the subscription of a stream of a singleton class, and when re-creating the subscription do not continue the data of that stream.
@karlbooklover
@karlbooklover 5 жыл бұрын
why is this unlisted? :(
@andrewbrogdon558
@andrewbrogdon558 5 жыл бұрын
We upload files a few days early so our translation team can access them to create captions and subtitles. This one was accidentally added to the Flutter in Focus playlist before its real release date, which (I'm guessing) is how you found it. Do me a favor and don't tweet the link for a few days. :)
@ahmedbaoun4084
@ahmedbaoun4084 5 жыл бұрын
@@andrewbrogdon558 pretty sure he didn't tweet it
@mahmoudbasuony3193
@mahmoudbasuony3193 5 жыл бұрын
@@andrewbrogdon558 Thank you very much
@Deliriummorphium
@Deliriummorphium 5 жыл бұрын
@@andrewbrogdon558 Ok
@TheChrist559
@TheChrist559 5 жыл бұрын
How do these guys know all this stuff!!!
@harshvardhan8190
@harshvardhan8190 4 жыл бұрын
BECAUSE THEY MADE IT.... :-P
@angelhdzdev
@angelhdzdev 4 жыл бұрын
Because they used their time and effort to understand Object Oriented Programming, and read the official documentation...
@josecoverlessons
@josecoverlessons 5 жыл бұрын
Flutter for the fucking win bro!
@balajir5736
@balajir5736 3 жыл бұрын
how do you dispose a stream??
@ezequielpereira4160
@ezequielpereira4160 Жыл бұрын
Muy util
@CodingCatDev
@CodingCatDev 4 жыл бұрын
Coming from Angular world, are there any advantages to using pub.dev/packages/rxdart ?
@Digitaln8
@Digitaln8 5 жыл бұрын
Where can I get that shirt?!
@shahidwani6445
@shahidwani6445 4 жыл бұрын
I think It is like IAsyncEnumerable in C#.
@ViralVideoMalayalam
@ViralVideoMalayalam 4 жыл бұрын
This is revolution, I mean, hard to achieve otherwise kind off things, done so easily.. but who is behind these all scenes.. google? then I doubt, it will all get monetised, some days.. for sure
@kirill4531
@kirill4531 5 жыл бұрын
Anyone can recommend similar great tutorials on Dart 2?
@aben8763
@aben8763 4 жыл бұрын
What is the point of Kafka when you master these ?
@aben8763
@aben8763 4 жыл бұрын
when no clustering is there
@dennougorilla8861
@dennougorilla8861 5 жыл бұрын
Why not use `switch case` in ConnectionState?
@dennougorilla8861
@dennougorilla8861 5 жыл бұрын
I think better following. switch (snapshot.connectionState) { case ConnectionState.waiting: ... case ConnectionState.done: ... default: ... }
@walrider7374
@walrider7374 5 жыл бұрын
why use rxdart then?
@codezero1015
@codezero1015 2 жыл бұрын
You are intelligent
@krtirtho
@krtirtho 4 жыл бұрын
Clearly its like traditional nodejs Stream event architecture just the names are different & with some sugary methods & syntax. nodejs: stream.on(eventname: "data"|"error"|"finish"|"pipe"|....so on, callback); dart: stream.listen((data)=>void, onError: (err)=>void, onDone: ()=>void, .... so on);
@calpal101
@calpal101 2 жыл бұрын
4:41
@nanstay
@nanstay 5 жыл бұрын
กรูนี่โคตรโง่ภาษาอังกฤษเลย ใครก็ได้มอบทุนไปเรียนภาษาอังกฤษให้กรูที Please... Love Flutter. This is My Frist Language programing on mobile app. 555 ฮิ้ววววว
@maran.ath4
@maran.ath4 2 жыл бұрын
3:10
@GurdeepSingh-gr7fb
@GurdeepSingh-gr7fb 5 жыл бұрын
Greetings to all flutter Developers here.
@maxwimmer8746
@maxwimmer8746 3 жыл бұрын
stupid to put in an example that is not repeatable because the stream method creates an error in dartpad.
@newpursuit1
@newpursuit1 4 жыл бұрын
Does anyone know why `sink` is called `sink`? Edit: found this en.wikipedia.org/wiki/Sink_(computing)
@chrisik100
@chrisik100 5 жыл бұрын
Lessons for the kids, I knew that from the web)
@mustofa_id
@mustofa_id 5 жыл бұрын
Yes grandpa
@NishaSharma-hd6qw
@NishaSharma-hd6qw 5 жыл бұрын
Could you please make a demo for playing DRM(encrypted) videos with flutter
@raprincis
@raprincis 5 жыл бұрын
Rxjs like
@guledali8902
@guledali8902 5 жыл бұрын
This is Called Channels in Elixir😅😅😅
@nichoyeah
@nichoyeah 2 жыл бұрын
Music in tutorials is a big nono. Even if it is just for a few seconds in the beginning of a video
@sachinmittal65
@sachinmittal65 4 жыл бұрын
I want to build an app that fetches my current location value even if the user is not using the app and matches the current location value with the location value stored in the DB and then do some task (all things are done in the background). How can I do that in flutter? Pls, anyone help me...
@simonemonesi4961
@simonemonesi4961 4 жыл бұрын
luca
@alfredoqwe
@alfredoqwe 2 жыл бұрын
?Donde está el código completo y funcionando para poder entenderlo? ?Porqué los tutoriales y manuales de Flutter son tan incompletos y confusos al punto de ser inservibles? Este tema que debería ser simple, como actualizar las respuestas de las Class y sus datos almacenados es inentendible por culpa de los malos tutoriales e información confusa sin ejemplos que funcionen , . Ni siquiera encuentro un ejemplo en la web sin error.... Mi sensación es que Flutter es de esas cosas gubernamentales que deberían ser simples, pero la casta de burocratas las hacen inentendibles, salvo para ellos. Pensar que Google vive de facilitar informaciones, parece un mal chiste....
@fethisert5527
@fethisert5527 2 жыл бұрын
thanks
Dart Futures - Flutter in Focus
8:55
Flutter
Рет қаралды 203 М.
10x Your Speed With Flutter
8:04
Flutter Mapp
Рет қаралды 83 М.
Мен атып көрмегенмін ! | Qalam | 5 серия
25:41
Sigma Kid Mistake #funny #sigma
00:17
CRAZY GREAPA
Рет қаралды 30 МЛН
It works #beatbox #tiktok
00:34
BeatboxJCOP
Рет қаралды 41 МЛН
Async/Await - Flutter in Focus
9:11
Flutter
Рет қаралды 209 М.
Transformers (how LLMs work) explained visually | DL5
27:14
3Blue1Brown
Рет қаралды 4,3 МЛН
Best of CES 2025
14:50
The Verge
Рет қаралды 594 М.
Generator Functions - Flutter in Focus
6:54
Flutter
Рет қаралды 147 М.
Top 30 Flutter Tips and Tricks
6:50
Flutter Mapp
Рет қаралды 580 М.
Мен атып көрмегенмін ! | Qalam | 5 серия
25:41