Check Internet Connection Like a SENIOR in Flutter - Globally
HTML-код
- Опубликовано: 29 мар 2023
- 📄This tutorial gives you examples of how to check the internet connection globally in Flutter.
📁 Source Code
🔗 github.com/mahdinazmi/Flutter...
⚡ SUBSCRIBE HERE⚡
🔗 cutt.ly/2XkZz0X
🌐 Social Media
🔗 Linkedin: / mahdinazmi
/ taimoorghafar
🔗 GitHub: github.com/mahdinazmi
github.com/taimoor522
🔗 Twitter: / mahdinazmi
#flutter #fluttertutorial #flutterwidgets #fluttercourse #flutterinhindi
The argument type 'void Function(ConnectivityResult)' can't be assigned to the parameter type 'void Function(List)?'
Straightforward video, thank you! for this, however, I am facing a problem, when my internet connection is off and I open the app, I don't see the snack bar? Could you please help me to show the snack bar, when the internet connection is already off?
The only problem is that it only shows, if device is connected to network, not whether there is active internet
The video would be perfect if it stil worked correctly
It's Working .Thank You So much. But it is not working at the beginning ,i mean if user Connection turn off and user open the app, it's not working, it is only working in inside the app Connection turn off and turn on . how can we make it work in the beginning.
Giving an error in the lime that's supposed to listen
When i pass _udateconnectivityresult in listen then its showing error iff anybody know plz let me know
This is great, but I have a question. Why it does not work when you try to start the app while not connected to the net? Can we make it work in that case too? Thanks
if someone is struggling to display snackbar, the part where you write the snackbar code to display "No Internet", also add the same ssnackbar in else condition ( change the text to "internet found ")inside the if block, this worked for me!
great tutorial. Btw as i heard many of flutter devs don't like getx
Simple and to the point. Thanks
This feature is really cool and easy to understand thanks to you. You got a new subscriber my friend. <3
Can we do this using get_it package if so how would you approach this using get_it and connectivity_plus.
Exactly you hit the pick point thanks ❤
Your videos are pure gold.
Bro you saved my whole day
Keep going, thanks a lot . ❤
thank you a lot you saved me a week of work take my subscribtion
This is really great, Kindly make video on Provider & RiverPod too!
hello , thanks a lot for this explanation , i just want to ask if I'm already using bloc for state management is it okay to implement this code , or is there anyway I can do it using bloc?