that's one of the best content on flutter/dart and on the concept of asynchronous programming, whoever watches this video can use JavaScript's asynchronous features too ( only the key words are a bit different ) thank you very much!
Great video! It is short and concise. I'm also glad you included the details about ".then", it will clear up a lot of confusion when I encounter that syntax somewhere.
Video is too old but and I've watched it now and till now I didn't understand this concept I've watched many videos of it but they didn't explain it like you finally I got it
Very well explianed with an excellent example. One small criticism, Although it states that the flutter architecture is single threaded, it does not explain how a single thread can operate asynchronously. My suspicion is that it has to multi-threaded, but maybe it does not matter anyway, as the methods described here simply work. VEry good video though. I am subscribing for sure
Can a website extract data from mobile database like sqlite? I want to use the mobile as the main database in which the website only displays the data.
Bro I have use case that, once the page is loading I have to get the content from shared preference then to bind the value in a text box, but.. the point of rendering textbox she value is empty because shared preference is a future method so it's getting once all execution and renderings are done.. Please guide me
Hi Smartherd, can we write apps in flutter that use jsoup library for web scraping? I am thinking of migrating my project into flutter. So I thought of knowing it firsthand. Thanks in advance.
how can we return or fetch a value from the Future like we do in java. consider at the start of a function i make a long running api call, then in the middle or end when required i get the value from Future when the call completes and make use of the value returned from Future. I saw we can pass a function in then to print the value but can't return the value.
thnaks , but i hear you said i cover this section in my dart fundamental but i watch all of it and did not see any topic like that well , may i'm wrong you may help me by tell me what the number of the video u demonstrate these topics or if i was correct i hope you really demonstrate them there if u could , thanks again you are very Good in explanation
You can do that but at times your app will be needed to wait till user give some info or wait for a data from api in that case you should use await asyncs to stop your app
This is the best video explaining these concepts in the whole web even outside youtube. 10/10 stars and thanks.
A lot of people has the knowledge, but can't release that in a logic way
True
spot on
man, I was about 3 days trying to solve a problem in Dart..and your video explanation saved my life, THANK YOU
that's one of the best content on flutter/dart and on the concept of asynchronous programming, whoever watches this video can use JavaScript's asynchronous features too ( only the key words are a bit different ) thank you very much!
Great video! It is short and concise. I'm also glad you included the details about ".then", it will clear up a lot of confusion when I encounter that syntax somewhere.
The way in which he explained the concept was just marvelous........possibly the best explanation of these concept I have ever encountered.
0:25 cannot find videos on these topics in dart fundamental tutorials.
Explaining in simple words imply the depth of teacher's understanding . Thank you
Best tutorial ever to understand Future, async & await
I finally understood. While thanking you a million times. :)
I have never had that great teacher
The best ever explain about Future, Async, Await and Them. Thank you.
Thank you brother.. I watched nearly 15 videos on asynchronous progmming topic.. This video helped me
I couldn't expect i will find this precious content on UA-cam, thanks a lot
few things are priceless: knowledge. Donate if you want more. thanks alot
@@smartherd :'''''''''D 2 opposite sentences in one line
Very clean simple explanantion ..good work
Video is too old but and I've watched it now and till now I didn't understand this concept I've watched many videos of it but they didn't explain it like you finally I got it
Very well explianed with an excellent example. One small criticism, Although it states that the flutter architecture is single threaded, it does not explain how a single thread can operate asynchronously. My suspicion is that it has to multi-threaded, but maybe it does not matter anyway, as the methods described here simply work. VEry good video though. I am subscribing for sure
I like the way you explain sir , I can say this is the best video explanation about this concept . keep going like this
The best video on Future, async, await.
i can't find these topics in your dart fundamental video list. do you have a link?
Very nice explanation thankyou so much 🙏🏼🙏🏼🙏🏼
Beautiful Explanation! Keep it UP!
Nice and a simplistic way of explaining complex concepts. Great job!
This is the best video explaining these concepts in the whole web even outside youtube. 10/10 stars and thanks.
(2)
I thought i knew this topic but this video change my mind, i love how you compare it with android that make it really clear
Great explain 👍🏻
Thank you so very much! This video saved me a lot of time and pain. Kudos to you for making such a wonderful explanation.
Perfect Explanation ! ! Thank you So much
Man I am very thankfull to you , perfect explaining and focusing
what about isolates ? i think by using isolates we can have 2 threads running parallely.
i am not able to find your dart video in which you explain about Future, Async, Await??
yes me too.
www.smartherd.com/dart-flutter-asynchronous-tutorial/@@supun_sandaruwan it is in the above link
Thanks 💪 🤩 @pilasa
Hi ,You have not explained asynchronous programming in dart tutorial as you said at 0:30 , correct me if I am wrong.
I also tried finding, couldn't find. Did you found though?
Crystal clear 👌
Can a website extract data from mobile database like sqlite? I want to use the mobile as the main database in which the website only displays the data.
Thank you very much Sir. You explained the complex terms very understandable way.
Bro I have use case that, once the page is loading I have to get the content from shared preference then to bind the value in a text box, but.. the point of rendering textbox she value is empty because shared preference is a future method so it's getting once all execution and renderings are done.. Please guide me
So should Then still be used or is Async Await now the better way to code this?
Bro finally i can write to files and display data properly thanks
Many many thanks. Keep up the good work. Respect from Bangladesh.
So when I am not sure if there will be a result back from Future, is it a good practice to use .then or .catchError over async/await?
Hi Smartherd, can we write apps in flutter that use jsoup library for web scraping? I am thinking of migrating my project into flutter. So I thought of knowing it firsthand. Thanks in advance.
best flutter tutorials!
This helped me fix my problem. Thank you brother
how can we return or fetch a value from the Future like we do in java. consider at the start of a function i make a long running api call, then in the middle or end when required i get the value from Future when the call completes and make use of the value returned from Future. I saw we can pass a function in then to print the value but can't return the value.
Very Clear explanation thanks so much, may be I join your dart programming course later.
Simply awesome 👍
A perfect explanation, thanks my friend.
Well done! Great explanation. Thank you.
Awesome Explanation Brooooo!
Great explanation!
Best explanation. Thanks
Very Clear explanation Thanks bro :)
Thank you very much sir, you explain it really well!
Hats off to you brother ... Thanks
Hi, can we return a double ?
WHEERE DID WE PASS THE RESULTSTRING PARAMETER? IN THEN FUNCTION
best ever explanation. Thank you so much
Excellent!
thnaks , but i hear you said i cover this section in my dart fundamental but i watch all of it and did not see any topic like that well , may i'm wrong you may help me by tell me what the number of the video u demonstrate these topics or if i was correct i hope you really demonstrate them there if u could , thanks again you are very Good in explanation
Did you found it?
can you make video alaram manager in flutter
Why 6 seconds ? How can I return it as soon as its done instead of using a timer?
You can do that but at times your app will be needed to wait till user give some info or wait for a data from api in that case you should use await asyncs to stop your app
Hi need example on where (Linqs)
thank you very much bro
Superb 🔥💯
Excellent
You are good man! Thank you
hi, i am interested can do 1 on 1 lesson
you deserved one subs from me :) thanks a lot sir
koi future bulder explanin krdo please
Can't thank you enough.
very good tutorial
Thanks
thanks
very good
thanks 🏩
I love DartPad
good work. like always on this channel :-)
Thanks
You haven't explained stream anywhere
I would have liked to see subtitles in English.
what i have to do if i want to print to Main Program : Starts , The content of the file is --> My secret file content,Main Program: ends
import 'dart:async';
main() async {
print('Start main program');
await fetchfilecontent();
print('End main program');
}
fetchfilecontent() async {
Future filecontent = downlodefile();
print('object is ${await filecontent}');
}
Future downlodefile(){
Future result=Future.delayed(Duration(seconds: 6),(){
return "this is the Secret File";
});
return result;
}
is this give the resulted output for me
Hey broooo, your training is great
Learn to connect to mysql
from.(Iran)
Most imports of 'dart:async' have been removed, as many of the functions are now in the auto-imported 'dart:core'.
You can in fact have more threads by including Isolates. I know that distracts from your message, but I think you're misleading your viewer.
Nice video
Thanks