I can do streams as well. You can't check if a stream "has" a value. You put a value on it when you have one. If you don't add any to the controller you'll have no value so it's "empty" until you broadcast a value over it.
This was a pretty clear explanation but I think it would've been more useful if you had shown some simple use-cases where each concept is used. For example, A use-case for when the async await version should be used over the .then() would make things more apparent for a beginner such as myself. But great content overall!
Thanks for the suggestion and thanks for watching. I didn't want to involve any Flutter code in the tutorial since I wanted to cover the future functionality only. But i can see how it would have helped. I'll keep it in mind for future videos.
My previous video is about animation controllers how to use them and what it's for. Everything after that will just be use case specific. I also have lots of flare videos for building and using animations.
That's because it's the exact same code that's used in the button press. A future is called like a function. MyFuture() that's it. So instead of only showing how to call a future we're trying to add additional value into the mix by showing how to call it when pressing a button. But that also doesn't mean anything because calling a future is literally exactly the same in any situation where you want to call a future. The same as calling a function is the same in any situation.
Excellent video thanks.
You're welcome. Thanks for letting me know. It helps :)
Great video, thank you
You're welcome. Thanks for watching.
been waiting for this, so confuse about my future xD
Haha hopefully it's filled with tons of FilledStacks videos 😁
xD
Awesome!
Thank you!
good explanation Thanks
You're very welcome. Thanks for watching.
Super Explanation brother.
:) Thanks
very good , would love to see uses of stream builders and queries with Firebase or some other api. Thanks for doing this.
Thank you. I have quite a few of that. I don't use StreamBuilders as I like to control my stream subscriptions myself.
Can you make a video on streams, i am trying to listen to a stream to know when it is empty and when it has data.
I can do streams as well. You can't check if a stream "has" a value. You put a value on it when you have one. If you don't add any to the controller you'll have no value so it's "empty" until you broadcast a value over it.
thanks 👍🏽👍🏽🇿🇦🇿🇦🇿🇦
You're welcome ❤️ 🇿🇦
This was a pretty clear explanation but I think it would've been more useful if you had shown some simple use-cases where each concept is used. For example, A use-case for when the async await version should be used over the .then() would make things more apparent for a beginner such as myself.
But great content overall!
Thanks for the suggestion and thanks for watching. I didn't want to involve any Flutter code in the tutorial since I wanted to cover the future functionality only. But i can see how it would have helped. I'll keep it in mind for future videos.
can you please do a video on isolates, what they are, when and how they should be used?
I'll add that to my list.
Amazing ...1st Comment
Thanks for being so early 😁
@@FilledStacks Want to learn More ..... Make a Video on Deep Dive to Flutter Animation or Zero to Hero
My previous video is about animation controllers how to use them and what it's for. Everything after that will just be use case specific. I also have lots of flare videos for building and using animations.
@@FilledStacks I'm on to..
its so annoying all tutorials on youtube just show futures on button press,, none shows a future that runs automatically on page load,,
That's because it's the exact same code that's used in the button press. A future is called like a function. MyFuture() that's it. So instead of only showing how to call a future we're trying to add additional value into the mix by showing how to call it when pressing a button. But that also doesn't mean anything because calling a future is literally exactly the same in any situation where you want to call a future. The same as calling a function is the same in any situation.