I wish this guy would teach me everything I ever need to know. So clear and clean. Thanks heaps.
@agentstona4 жыл бұрын
i assume you are being sarcastic here......... dude he just over complicated the most simplest of explanations ........ he took 9 minutes to explain something that could be done simply in 5 minutes ........ although 9 minutes is not that bad compared to the 20 minute 1 hour junk now days .......
@xynyde03 жыл бұрын
@@agentstona id like to see you try and do a better job then lol
@MadeInPython6 ай бұрын
No he is right. The authors of this channel could benefit by learning "Show and don't tell" which was taught way back in high school. I don't care to be lectured on what it can do. SHOW me what it does in Flutter. Also the docs are quite poor in relation to other languages I've learned. It's scattered across different websites and is not comprehensive with a lot of lessons saying "copy + paste this code here". Many people could do a better job. Just My two cents.@@xynyde0
@aaBeben3 жыл бұрын
This man is a good teacher.
@jaayaustin3363 жыл бұрын
This channel is teaching me FLutter while helping me understand Javascript better, thanks!
@i_mwanagenzi2 жыл бұрын
So far, I'm demystifying the entire cloud on asynchronous programming in Flutter. Thanks Flutter team
@Dhruvam5 жыл бұрын
I am a simple man, I see flutter and I watch the video.
@rbp3655 жыл бұрын
Me too. This is just a Dart video essentially though. Dart is the most awesome language I've ever come across, I've read all the official docs I could get on dart.dev. Actually I've never did this to any language
@codingwithmassodpersiancha21005 жыл бұрын
thanks for your efforts , all of you in the flutter team. i wish i could use flutter with koltin from day one and still do , but i am beginning to make connections to dart thanks to these series of videos. i was wandering the other day in the internals of the flutter api , and was curious how exactly is Row implemented for example and i started to write Row myself . and that helped me to get to know every corner of Row widget. i suggest you shooting videos that talk more about internals. unfortunately being new to Dart , has slowed me digging more inside. thanks again and really apperciate what you guys do
@kpandian15514 жыл бұрын
Amazing explanation. Can’t be more simple. You guys rock it. Love your team’s way of teaching in the Simplest language and that’s another reason why like Flutter so much. Many many Thanks to you all !
@gabrielgibeausanchez7 Жыл бұрын
Is it just me or this guy's charisma is through the roof?
@PelpsRoxXx5 жыл бұрын
Holy shit!! So async and await are just Future's and then's masked! That's awesome, thanks for the enlightening, keep it up, nice videos!
@andrewbrogdon5585 жыл бұрын
I know, right? Once you realize that they're just syntax for futures, suddenly async and await are no big deal.
@abdallahsani58435 жыл бұрын
@@andrewbrogdon558Hi Andrew, I'm new to async I find it interesting though. My question is, Does the for loop wait for the entire stream to finish before it executes?
@joannabusoba5 жыл бұрын
Thank you for the series! I hadn't seen this before, glad you have arranged your videos well into a playlist. I'll definitely check it out
@orewaayakashikitsune45372 жыл бұрын
Im still new to flutter and new to this async topic cuz i haven't started learning javascript, but this representative explains sooooooo very clear 🤯.
@diegoveloper5 жыл бұрын
Excellent explanation, very useful! Would be great to watch some videos about RenderObjects in another serie !
@souley-mohamedrochsome9678 Жыл бұрын
Thank you sir, I am struggling to understand this concept and your explanations are very clear 🙏
@shunjidrahman68605 жыл бұрын
What I have seen on earth ! 😍 Dart seems so cool 😮
@MunirHoque4 жыл бұрын
I used a lot of Async Await pattern of corutines in Kotlin earlier. While watching this video it seems almost similar, it is very easy to understand.
@hdkloh68575 жыл бұрын
No activity, no fragments, no XML Layout... Only game of widgets.... I like Flutter.
@BugGenerat0r5 жыл бұрын
When you play the Game of Widgets, you win, or you go back to Xamarin.
@okie90254 жыл бұрын
If only there was a markup language, preferably HTML, used to create layouts... Well, one can dream
@AnonymousAnonymous-nr8su4 жыл бұрын
@@okie9025 but html is not markaup language, but some old version of XML DTD.
@okie90254 жыл бұрын
@@AnonymousAnonymous-nr8su remind me what HTML stands for again?
@JoyEnergiser3 жыл бұрын
@@okie9025 Ugh html . that's how you will feel about Html once you experience how flutters UI layout works.I felt disgusted that I struggled with it for so long
@remoteportal4 жыл бұрын
Okay, you guys win... I'm wholeheartedly giving up JavaScript; I'm a Dart/Flutter guy now--I'm "all in."
@alexblackcat24362 жыл бұрын
very clear and understadable presentation, thanks!
@medamine1943 жыл бұрын
andrew is the best teacher ever Periodt.
@garethbeall36744 жыл бұрын
Such a clear and well thought out explanation - thank you!
@GamerBizzare3 жыл бұрын
I love u man, You saved my life. Thanks Flutter!
@serzen3 жыл бұрын
I've watched this video n-times and I still getting stuff from it
@Raimkhodzhanov2 жыл бұрын
Thank You! Very interesting!
@deliriouslee20793 жыл бұрын
wow,this man looks really kind.
@KenrickBeckett5 жыл бұрын
"cue word" :) @6:49 Keep up the good work guys!
@andrewbrogdon5585 жыл бұрын
On the one hand, I'm sad someone noticed, but on the other hand it means someone made it nearly seven minutes into the video before getting bored and loading a different one. :)
@pida96694 жыл бұрын
@@andrewbrogdon558 You are an excellent presenter. Complaining about the slight mispronunciation of a syllable in your presentation is like complaining about a microscopic inclusion (flaw) in a VVS diamond. :-)
@martinseal19875 жыл бұрын
Loved the video, love your explanations can't wait for the next one
@frankemeli59185 жыл бұрын
Nice one, would like to see a video on state management with providers. I love your videos so much that even when I get notified about a new one on the road, I usually don't have the patience to get home before watching.
@mateusfccp4 жыл бұрын
I still prefer .then syntax. Future createData() => _loadFromDisk() .then(_fetchNetworkData) .then((data) => ProcessedData(data)); It's clearer for me.
@marflage Жыл бұрын
It helps in understanding the code but reduces readability. Not to mention, the then syntax really takes a hit on both readability and understandability when the logic becomes convoluted and there are many nested thens in thens.
@colectorcell18715 жыл бұрын
Always waiting for next video
@iwandepee3 жыл бұрын
this man really helps me out (:
@TinManlet4 жыл бұрын
Flutter/Dart is a dyslexic coder’s dream
@imbayi5 жыл бұрын
Broken down so well!
@ryujiganaha96453 жыл бұрын
Great video. Thank you so much!
@longtimedeveloper64983 жыл бұрын
Outstanding presentation!
@TheBlackManMythLegend5 жыл бұрын
Great Teacher Onizuka!
@hanielbaez57235 жыл бұрын
Nice video, and amazing easy explanation.
@MdSiam-kw5ox2 жыл бұрын
Future API is awesome 😍
@flutterdev Жыл бұрын
Very awesome, Md! We're excited about the future too 😍 Have you checked out our Dart codelabs? Catch up here👀: goo.gle/3xjc7Qe
@mbleftley5 жыл бұрын
Async/Await is awesome! Flutter is awesome!
@JAICHANGPARK5 жыл бұрын
awesome flutter with Async Await Future Stream
@d-apps26995 жыл бұрын
You are amazing! thank you for this video.
@bsizeindian39665 жыл бұрын
Where is your button?
@crgmonroe4 жыл бұрын
Great explanation!
@PetrosPollakis5 жыл бұрын
This video was very helpful! Thanks Google
@kleytonstn5 жыл бұрын
The video is great, flutter is awesome!
@dasdunetechnologies16955 жыл бұрын
reverse video 2 and 3 in the list. Future event
@Algardraug3 жыл бұрын
Okay, so I'm still a bit confused as to in what thread async functions/tasks execute? If I wait await for some resource intensive task, will my app stutter?
@heshansandeepa94712 жыл бұрын
Very nice
@flutterdev2 жыл бұрын
Thanks Heshan!
@DiazGunturFebrian5 жыл бұрын
At 7:59 the parameter should be Stream numbers so that we can for loop? CMIIW
@chewie72355 жыл бұрын
You're wrong.
@andrewbrogdon5585 жыл бұрын
@@basselcheaib Exactly! With await-for, the loop iterates over the values produced by the stream, so there's no need for a list.
@PabloMorlock4 жыл бұрын
For what I saw, I concluded that once I used a Future, thereafter I should return a value of some kind of Future. Is it possible to break that depedency, for instance, read an json, an return an map after decode, instead of Future?
@aakashjana62254 жыл бұрын
This concept originates from Python which is also a language that executes on a single core of the cpu unlike compiled languages like Java. (Although dart is also compiled)
@Shakl-e5 жыл бұрын
You are great, thanks!
@codewa76053 жыл бұрын
is there a way to cancel the callout?
@aminebenichou48183 жыл бұрын
I am getting when calling a function
@MasterGKH4 жыл бұрын
The stream has a mechanism to tell to the "listner" that the stream is end? I mean, for example in the code at ~08:00, in the video, when the loop "for" is ended? I hope its is clear my question.
@nimishkhattar20173 жыл бұрын
crystal clear
@hurbangash13022 жыл бұрын
thanks
@jmarms5 жыл бұрын
I really dig that shirt.
@JulianoPenna7 ай бұрын
What does that mean? I know it's California, but what about the "blank region"?
@pspdito4 жыл бұрын
learned a lot of clean code and data structures oh yeaa
@refayetshanto2 жыл бұрын
Hi, your videos really helped me learn flutter in a very simplistic way. One somewhat related question which will do a big favour to me. Why I can't assign a Future to int. I simply want to assign Future to an int variable. Please help.
@marflage Жыл бұрын
You can not assign a Future to a non-Future. While assigning a Future to a variable of type int, you are essentially only assigning an empty box (from the gift analogy from the video on Futures, also talked about in this video) to the variable. When a Future starts getting executed, it first returns an empty box to the calling statement as an indication that the Future has not completed yet. When a Future has completed executing, it returns the actual data or error to the calling function. When you do int i = Future, you are only getting the first return (the empty box) and the int variable accepts no further values; because non-Future variables need instant access to values and thus cannot wait. Now to make the variable wait for the actual useful data, we can use the await keyword before the Future expression. Like so: int i = await Future
@notanenglishperson98652 жыл бұрын
What async* does?
@_Amilio_3 жыл бұрын
How does the await for know that the stream is complete?
@Parul_Nandwani5 жыл бұрын
hey team, help me out..I am getting this error when trying to insert data into my SQL database. the error is --- socketException: connection timed out, errno = 110, address = 120.00.0.000, port = 44103. I have added "access control allow origin" in my PHP but still getting this.
@nidafatima50005 жыл бұрын
hi , I need to know exact build apk process for all platform we tried and get success in android -arm64bit only but we need to test all other platforms pls help me.
@roykarseboom91853 жыл бұрын
Why do you need to mark function with async tag? It's just confusing because functions with Futures without async keyword also run asynchronously... anyway, I like the videos :)
@kirill45315 жыл бұрын
Yeah, a sequence of multiple "then((){}" looks piled up
@crossfade71124 жыл бұрын
lol you the formatter then
@junior.santana5 жыл бұрын
Ok I understood how to use it but the question I'm struggling is why to use it? I have to wait for the disk/network response anyway. I mean, what kind of problem I would be solving?
@jackma12415 жыл бұрын
It will help you handle async job in syny way, especially interact with UI code. For example, if you need to load an image from network after clicking a button, it would be messy to use Future API, or even more messy to use a thread like in Java. But in dart, you can create an async method, write both your UI code and blocking operation in it, like show a loading dialog, await image to be loaded, hide loading, using try catch with exception, all in a sync way without blocking UI. Your code would be much more clear.
@karansoni35435 жыл бұрын
anyone suggest me how to take a printout of a widget(ID Card Generated by flutter app ) in flutter
@StEvUgnIn5 жыл бұрын
Watch out, Xamarin
@crossfade71124 жыл бұрын
who actually uses xamarin😂😂
@hamzacodes27853 жыл бұрын
which country is on his t-shirt?
@JulianoPenna7 ай бұрын
That is California, not a country. But I'd like to know what that "blank region" means.
@engMark903 жыл бұрын
But there is a difference between then & await, await will not execute the lines after it until resolves, on the other hand "then" will execute the following lines and resolve sometime later then execute the callback.
@engMark903 жыл бұрын
I just want to focus on the point that Yes await is a syntactic sugar for nested then, but the following lines after in the same scope will never be executed when using await, however it does when using "then"
@felixtopappz73384 жыл бұрын
Can flutter be used on rapidApi.com to make calls
@soroush514 жыл бұрын
if there could be 'else' keyword to execute when try section ran without any errors and successfully(like python) it would be great
@marflage Жыл бұрын
Is not the code right after the try-catch block a kind of else for the execution of the program?
@Shenepoy5 жыл бұрын
1:30 lies, will I had a lot of issues with .then because it gives null and goes on
@minma022624 жыл бұрын
Either you are not returning, or your return is null
@harry3562 жыл бұрын
I miss the advantage if you use await on each method call. I don't see an improvement from sychronous coding? Why not old fashioned let the programmer decide if an IO intensive thread should be spawned?
@johnaldrin59245 жыл бұрын
Cons to using async/await? I think we are being done a disservice by not mentioning when async/await is not the best choice. If I have long running async function will it impact the UI?
@rolfhendriks53625 жыл бұрын
Async/await does not give you the full power of using futures directly. For example there is no async/await equivalent of Future.wait to spawn several async tasks concurrently and wait for all to finish, optionally failing the entire set of tasks on the first error. Async/await is just a thin layer of syntactic sugar around the normal task of executing one or more asynchronous operations sequentially. Async/await, being syntactic sugar on top of futures, does not actually block execution of a function, so your UI will not be impacted by async/await. So to be clear: an async method actually returns as soon as it encounters an await call, not when the results come in.
@davidagyakwa2882 жыл бұрын
this has to be updated for the new isolate update 🤷🏾♂️
@dannykay4919 Жыл бұрын
Nice explanation w/ trivial examples. How about calling async methods from a build context, this is flutter after-all not just dart.. I see odd behavior frequently that doesn't seem in line w/ this explanation..
5 жыл бұрын
Hello, do you know how can I list my instagram followers with flutter ? I want to make something on social media with flutter but I dont know how can I use my social media with flutter ?
@andrewbrogdon5585 жыл бұрын
Instagram has an HTTP API (at least as far as I can tell), and you can certainly make HTTP requests with Flutter and display the results!
@claudiubele48923 жыл бұрын
"... and the first time I saw them I remember being weirded out"
@dxvfdfx Жыл бұрын
as Android developer we need this kind of video explanation of how Kotlin flow works, if anyone has the video link, please share thanks
@reapergrim53242 жыл бұрын
Please use black background in future videos , watching this at night hurts .
@flutterdev2 жыл бұрын
Hi! Thank you very much for the feedback. We have shared your suggestion to our production team 😀
@TheCodeWhisperer0o011 ай бұрын
does anyone gets benefit from these videos?! I mean practicaly and using inside the code, I know that you would get an idea basically.
@vballaddict752523 жыл бұрын
"Finally" block executes AFTER the return statement!!! Ouch. I think my old C-oriented mind may need to be reset... :-)
@SalemTech5 жыл бұрын
I think i have a problem relative to this concept i guess! I'm trying to push notifications locally in a flutter app these notifications are repeated daily at a specific time .. i have four notifications at different four times to be sent but only one is sent !! and the others cancelled i do not know what is the reason but these notifications are sent in an async way can you help me ?! i'm using the flutter_local_notifications plugin
@hehehaha36765 жыл бұрын
You should ask on stackoverflow
3 жыл бұрын
Forgot to explain how to handle the returned Future. That's the painful bit, IMHO
@michaelrogers69353 жыл бұрын
That was covered in a previous video - the easiest way is to pass it to a FutureBuilder.
@peruviancode13605 жыл бұрын
Using await is most simple 😂😂
@sasat0ru3 жыл бұрын
i thing u can say 'just like javascript' and end the video ;P
@yangyun6221 Жыл бұрын
Flutter guides make Android courses like amateurs
@keepdream5 жыл бұрын
please google make a framework that can use html&css&js to produce android and ios application
@hackaholic01 Жыл бұрын
Looks so dump, if you wating then there is no asyn here, all are waiting on other, what uses it have,One can load data from disk and do network call, Why to make things complected, Achieving sync call using async, what a noob development here.