Snackbar, Toast & Dialog in Flutter (Flash Package)

  Рет қаралды 16,329

Reso Coder

Reso Coder

Күн бұрын

Пікірлер: 29
@alexandrufilipescu1301
@alexandrufilipescu1301 4 жыл бұрын
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.
@JuanLopez-oc9yv
@JuanLopez-oc9yv 4 жыл бұрын
Thank you for sharing all of this, with every video of yours I discover new and more efficient way to do things with Flutter.
@pedrol4011
@pedrol4011 4 жыл бұрын
Thank you so much Reso! You are the best!
@urielaispuro2125
@urielaispuro2125 4 жыл бұрын
Awesome! I just found your channel and you're incredible, thank you for sharing your knowledge ♥️
@mehulbisht9708
@mehulbisht9708 4 жыл бұрын
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?
@markusandrew8360
@markusandrew8360 3 жыл бұрын
A tip: watch movies on Kaldrostream. Been using it for watching a lot of movies during the lockdown.
@seangerardo66
@seangerardo66 3 жыл бұрын
@Markus Andrew yea, been using kaldrostream for months myself =)
@daxtonjohan3020
@daxtonjohan3020 3 жыл бұрын
@Markus Andrew yea, I have been watching on kaldroStream for months myself :)
@ramonjack6784
@ramonjack6784 3 жыл бұрын
@Markus Andrew yea, been using kaldroStream for since november myself :D
@raulmabe4229
@raulmabe4229 4 жыл бұрын
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
@prajwalc5595
@prajwalc5595 4 жыл бұрын
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.
@h3w45
@h3w45 4 жыл бұрын
Thanks for covering this.
@rifqibyy
@rifqibyy 4 жыл бұрын
this is awesome, thanks! can you do bottom navigation?
@thevillageguy321
@thevillageguy321 4 жыл бұрын
Thanks for neat and clean tutorial. What's the font you are using. IBM Plex?
@ResoCoder
@ResoCoder 4 жыл бұрын
You're welcome! The font is Jetbrains Mono.
@aytunch
@aytunch 4 жыл бұрын
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.
@ResoCoder
@ResoCoder 4 жыл бұрын
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.
@kikalamuofficial5865
@kikalamuofficial5865 3 жыл бұрын
Is this package still useful even when using Bloc Pattern?
@merickbao4033
@merickbao4033 4 жыл бұрын
could you please tell us about your vscode theme.
@numanarif2597
@numanarif2597 4 жыл бұрын
Awesome man, thanks
@ResoCoder
@ResoCoder 4 жыл бұрын
Glad to help!
@HH-uw3kw
@HH-uw3kw 4 жыл бұрын
What theme are u using ??
@namtranquang8081
@namtranquang8081 4 жыл бұрын
What font is that?
@GabrielCosta-xr5vr
@GabrielCosta-xr5vr 4 жыл бұрын
Missing more advanced content, but thank you for sharing this too!
@ResoCoder
@ResoCoder 4 жыл бұрын
Advanced content will come at some point!
@ngocnghiale5717
@ngocnghiale5717 3 жыл бұрын
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); },);
@berkcan3475
@berkcan3475 3 жыл бұрын
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 ???
REAL or FAKE? #beatbox #tiktok
01:03
BeatboxJCOP
Рет қаралды 18 МЛН
BAYGUYSTAN | 1 СЕРИЯ | bayGUYS
36:55
bayGUYS
Рет қаралды 1,9 МЛН
Flutter Riverpod Tutorial - The Better Provider
41:26
Reso Coder
Рет қаралды 85 М.
Learn Flutter Hooks and Maximize Your Code Reuse
10:36
Robert Brunhage
Рет қаралды 62 М.
AI Is Making You An Illiterate Programmer
27:22
ThePrimeTime
Рет қаралды 246 М.
Complex Animations in Flutter using Rive | Flare
15:44
FilledStacks
Рет қаралды 226 М.
Freezed ❄ - Data Class & Union in One Dart Package
36:28
Reso Coder
Рет қаралды 59 М.
Top 35 Flutter Widgets
29:29
Flutter Mapp
Рет қаралды 336 М.
Top 30 Flutter Tips and Tricks
6:50
Flutter Mapp
Рет қаралды 584 М.
Implementing complex UI with Flutter - Marcin Szałek | Flutter Europe
44:26
REAL or FAKE? #beatbox #tiktok
01:03
BeatboxJCOP
Рет қаралды 18 МЛН