Unfortunately Tip #2 is wrong, Future.wait didn't run Futures concurrently, it just run them sequentially in current isolate/event loop, and give you all result after every Future is finished. If you want real concurrency, you should spawn new isolates. For example: void main() async { await Future.wait([ Future(() { for (int i = 0; i < 5; i++) { print(i); } }), Future(() { for (int i = 0; i < 5; i++) { print(i); } }), Future(() { for (int i = 0; i < 5; i++) { print(i); } }), ]); } It'll print 1,2,3,4,5,1,2,3,4,5,1,2,3,4,5, instead of 1,1,1,2,2,2....
What a coincidence I just had to show data from the map in UI and I was spitting each entry manually suddenly map iteration part comes and I used it instead Thank You, Creator.
This is a gem 💙💎
Thanks a lot. I’m a fan of your channel, so it’s great to hear this.
Oh hi paras
You got me watching the whole video. Thumbs up 👍
Woah man that was pretty good and consise demonstration of dart ... I learnt a lot of good stuff today!
Best flutter channel in TH-cam!🤩
Thanks for sharing Andrea
This is a masterpiece!
GOLD!!! THIS IS GOLD!!!
I bought your dart course from Udemy... and i am practicing... thanks you
This is amazing! They are all very useful. 6 of them where at least partially new to me.
Great Video. Keep it up Andrea.
Thanks for sharing!
Thank you. I'm definitely purchasing the course.
Absolute gold.
nice ... very informative
Did you show ur localhost as https how? Adding self signed ssl? To the vhost?
Awesome!
Unfortunately Tip #2 is wrong, Future.wait didn't run Futures concurrently, it just run them sequentially in current isolate/event loop, and give you all result after every Future is finished. If you want real concurrency, you should spawn new isolates.
For example:
void main() async {
await Future.wait([
Future(() { for (int i = 0; i < 5; i++) { print(i); } }),
Future(() { for (int i = 0; i < 5; i++) { print(i); } }),
Future(() { for (int i = 0; i < 5; i++) { print(i); } }),
]);
}
It'll print 1,2,3,4,5,1,2,3,4,5,1,2,3,4,5, instead of 1,1,1,2,2,2....
Thanks for informing!
What a coincidence I just had to show data from the map in UI and I was spitting each entry manually suddenly map iteration part comes and I used it instead Thank You, Creator.
The chaptering really helps. 👍
Great content! 💯
Love this. Awesome content.
Excellent! 👍
Useful, thanks!
Very informative video!
I learned a lot
This information is gold ❣️
Excellent 👍 👍 👍
Great video thanks
thanks for the tips
great tips, many thanks
So, so good! Thanks!
Great tips
Hi Andrea sir can you suggest some interesting college project using flutter.
Nice video!
What shortcut do you use in VS Code to quick import files from the same directory?
I guess he is just pressing the Undo shortcut to show the code he is explaining.
Professional 🔥
thanks for the video brother :)
Amazing
Coooool!!!! Thanks!!!'❤
great
Sou do brasil nao sei falar ingles, mas meu parabens. Deu para entender algumas coisas
awesome
I knew about some of these and I felt less newbie lop
1:50 same thing in python __call__ method,👍
Like first 💓
thought this was about the sport
Haha
cool
It was too fast. I could not understand few of them.
plz build a little vpn plz
.
One year of my experience in 12 minutes