Great stuff bro thanks for sharing , i have one request bro how to implement navigation service withour any context and with out getx also , i need a navigation service that can be use in some api service when it unauthroised directly need to navigate globally at one place
Thank you. You can create your own for that but I think you'll have to pass Context. To do the navigation on unauthorized I'll suggest you to read streams as when sign out or unauthorized state stream state will be change and will be unsubscribed to stream then your required action will automatically be performed. I hope it helps ☺️
For what I've seen, is better to make a widget than extract a method, it enhances performance because Flutter understands more about when build things again than when you utilize the component as a method
Hi can you create a video where the app has several languages, for example I want my app to be on English when I click on English button and when I click on German language I want my text in the app to change in German language. Great work btw
it's OK when reusing common stuff but what about logic? for example handling taps? I think flutter is not doing a good job with those kinds of things, for example, you want to reuse a widget X, in some cases taping on it navigates to another place of the app, and in some cases just does anything else. It's the same list view but placed in different places of the app.
Dear you can send onPressed events uniquely for each case. So your taps can easily be handled. You can use VoidCallback onPressed; variable and receive its value in the constructor like any other value.