So will you make tutorials on Flutter Web as well? It's not out of beta yet, but do you think it can be used to build websites for commercial use as well?
Thanks a ton man!! BTW I watched your entire series on TDD and Clean Architecture, It's a masterpiece out there on the internet. I have a question though, who should do the orchestration if a user action has to deal with more than one usecase? For example when a user hit a button I will have to make two API calls that is in two different repositories. In such a case what should be the approach? Should I create a single usecase that takes in two repositories and do the orchestration within the usecase OR should I create two usecases seperately and orchestrate the api calls sequentially in the bloc? Any feedback will be really helpful.
Matej, Hi thanks for bringing this package in to light. I have a question. I made a nice small custom widget which shows some live data from the server. I want to persist this widget on top of everything else just like a toast. I don't want it to disappear when we do pop route, push route, etc. Can I use this library for this need? If yes, should I create this widget with the toast above material app? Do I always need to pass the context? Or how should I go? I am using Blocs as state management. I always wanted to show a toast like widget from bloc instead of UI-bloclistener. Because it can appear at any random page, I dont want to put bloc listener to every page just for this purpose. Lastly, does using Overlay and OverlayEntries have a negative impact on UI performance? Should we avoid them in our designs when possible? I think overlay's live in a different place than the normal widget tree. Take care bro.
You could use this library but I'd recommend you to use the Overlay widget which is used behind the scenes here. In fact, you might want to take a look at the flutter_portal package. It makes working with overlays much easier. Overlays don't have any real negative impact on the performance. They are really just a stack of widgets that usually wraps the whole MaterialApp - that's why individual OverlayEntries are shown above the whole app no matter where you navigate.
Hey I love your videos! You do a great work. However I think that snackbars are customizable by default. As everything is a widget you can insert a Row inside the content of a snackbar for example
I don't want to use Overlay so I have a way to replace it: //!Code FlashController? flashController; //!Edit 1 showFlash( context: context, onWillPop: () async { flashController!.dismiss(); //!Edit 2 return false; //True with Toast }, builder: (context, controller) { flashController = controller; //!Edit 3 return Flash.dialog(//!Your code); },);
its sooo stupid IMO, let me give an example: I want to make user log in, while user is logging in I want to show snackbar not dismissable not with ability to go back, if I use persistent:true it can dismiss via back button, if I use persistent:false then it can go previous screen via back button isnt there any dev maintaining this repo smart enough to make a back button handler instead of choose one of shitty paths ???
Thanks! Hey Matt, I think that the people would like to see a tutorial on how you build your own apps or freelance, like the usual way that you do.
So will you make tutorials on Flutter Web as well? It's not out of beta yet, but do you think it can be used to build websites for commercial use as well?
A tip: watch movies on Kaldrostream. Been using it for watching a lot of movies during the lockdown.
@Markus Andrew yea, been using kaldrostream for months myself =)
@Markus Andrew yea, I have been watching on kaldroStream for months myself :)
@Markus Andrew yea, been using kaldroStream for since november myself :D
Thank you for sharing all of this, with every video of yours I discover new and more efficient way to do things with Flutter.
Thank you so much Reso! You are the best!
this is awesome, thanks! can you do bottom navigation?
What theme are u using ??
could you please tell us about your vscode theme.
Thanks a ton man!! BTW I watched your entire series on TDD and Clean Architecture, It's a masterpiece out there on the internet. I have a question though, who should do the orchestration if a user action has to deal with more than one usecase? For example when a user hit a button I will have to make two API calls that is in two different repositories. In such a case what should be the approach? Should I create a single usecase that takes in two repositories and do the orchestration within the usecase OR should I create two usecases seperately and orchestrate the api calls sequentially in the bloc? Any feedback will be really helpful.
Is this package still useful even when using Bloc Pattern?
Matej, Hi thanks for bringing this package in to light. I have a question.
I made a nice small custom widget which shows some live data from the server. I want to persist this widget on top of everything else just like a toast. I don't want it to disappear when we do pop route, push route, etc. Can I use this library for this need?
If yes, should I create this widget with the toast above material app? Do I always need to pass the context? Or how should I go? I am using Blocs as state management. I always wanted to show a toast like widget from bloc instead of UI-bloclistener. Because it can appear at any random page, I dont want to put bloc listener to every page just for this purpose.
Lastly, does using Overlay and OverlayEntries have a negative impact on UI performance? Should we avoid them in our designs when possible? I think overlay's live in a different place than the normal widget tree.
Take care bro.
You could use this library but I'd recommend you to use the Overlay widget which is used behind the scenes here.
In fact, you might want to take a look at the flutter_portal package. It makes working with overlays much easier.
Overlays don't have any real negative impact on the performance. They are really just a stack of widgets that usually wraps the whole MaterialApp - that's why individual OverlayEntries are shown above the whole app no matter where you navigate.
Thanks for covering this.
Hey I love your videos! You do a great work. However I think that snackbars are customizable by default. As everything is a widget you can insert a Row inside the content of a snackbar for example
Thanks for neat and clean tutorial. What's the font you are using. IBM Plex?
You're welcome! The font is Jetbrains Mono.
What font is that?
Awesome! I just found your channel and you're incredible, thank you for sharing your knowledge ♥️
Awesome man, thanks
Glad to help!
I don't want to use Overlay so I have a way to replace it:
//!Code
FlashController? flashController; //!Edit 1
showFlash(
context: context,
onWillPop: () async {
flashController!.dismiss(); //!Edit 2
return false; //True with Toast
},
builder: (context, controller) {
flashController = controller; //!Edit 3
return Flash.dialog(//!Your code);
},);
Missing more advanced content, but thank you for sharing this too!
Advanced content will come at some point!
its sooo stupid IMO, let me give an example: I want to make user log in, while user is logging in I want to show snackbar not dismissable not with ability to go back, if I use persistent:true it can dismiss via back button, if I use persistent:false then it can go previous screen via back button isnt there any dev maintaining this repo smart enough to make a back button handler instead of choose one of shitty paths ???