Connectivity (Flutter Package of the Week)
HTML-код
- Опубликовано: 8 сен 2024
- Learn more about connectivity → goo.gle/pub-dev...
The connectivity package at its core tells developers if devices are connected to a wifi network, a cell network, or nothing at all. Use checkConnectivity to check if your app is connected to the internet.
Learn everything about Flutter at → goo.gle/2WAhEN1
Get more tips! → goo.gle/Flutte...
Subscribe to Flutter! → goo.gle/FlutterYT
#WidgetoftheWeek #Widgets #Flutter #PackageoftheWeek
I love this series.. but it take too long for new episode to be realseed 😭
Video just got smoother and smoother 👍
Love this videos!
Boooom, it was in my today's task list to search which packages are available to check device's connection status lol. Thanks awesome Flutter community!
Superrrrr ... i was just searching for how to check the connectivity status yesterday, THANK YOU HEROD
Don't forget to add the "access to wifi state" capabilities in xcode...
Also I've this weird error on iOS simulator.. whenever I switch wifi state I get the previous state in the stream
Me too
What about the desktop? There could be Bluetooth tethered connection or LAN and any type of connection could be labeled as having metered or unlimited traffic plan.
gonna ask the same thing, and there are other's how about tethered using usb connection
Note that on Android, this does not guarantee connection to Internet. For instance, the app might have wifi access but it might be a VPN or a hotel WiFi with no access.
What about this note?
It will show connected even without internet access, and this package works 80% time so yeah
Its been more than a week we are still waiting the next widget 💗
And on iOS it requires additional check on init statez otherwise the stream is hanged.
Thanks, this package is very helpful
this package and internet_connection_checker have issues reporting wrong internet connection
this one only report the current active network
the internet_connection_checker dont work on limited net works like social media plans, the reason is because use the ping as checker and on this type of plans you can ping google but cant navigate to google.
Im working on my own solution custom_ping this one already work using a get call to check the internet
in the future im working on new features like tell the active network (like connectivity) and also a smart stream broad cast that stop the calls once there is no listener and reactivate when a new one arrives.
Anything like that where is does a ping is not a guarantee. The person could be online when you check the connection and dropped signal when you actually call http. Just try the request and handle the errors gracefully
is this solution ready?
Thanks. Great help.
I love flutter❤️
i love this kind of video
Awesome 👍🏻
Widgets for everyone!
This package cannot check if wifi has internet or not. for that feature i am using data_connection_checker
You don’t really need to check for connection. Just try the request and if it fails handle the error.
Anything like that where is does a ping is not a guarantee. The person could be online when you check the connection and dropped signal when you actually call http
Muito bom, até o momento que estou mexendo com o Flutter, só vejo pontos positivos.
Learn English
Awsome !
What about Ethernet on Desktop?
Make Server Side Rendering in Flutter Web, Flutter web not Support Seo Why?
Will it work for web also someday? Say, wired LAN/WAN?
Probably not. It would require the web browser to surface that data to the webpage.
On the native side the browser would have to hook into any api related to that status. Or if there is none to hook into the network stack. The former is a mild privacy concern. The latter would be a security concern. And even if it is possible no guarantee that every web browser would support it.
Flutter Web is little slow, Pls increase performance like ReactJs/NextJs
nice
Wow!
This package has discontinues any solution for it ! , Any alternative solution .
So damn good
Connectivity is TERRIBLE and doesn't always work on web and Android. I've tried it with three different devices and it tells me I'm not connected to 4G/5G mobile network when I clearly am. It does the same at my home and work WiFi.
It works like 80% of the time which isn't good enough.
So that mean flutter had this package a whole time while I was struggling with native android
flutter apps don't run at screen refresh rate on my OP7 Pro, any fix?
flutter build apk --split-per-abi
Wow
👍👍
who i can fix this error
fatal error: 'Flutter/Flutter.h' file not found
#import
StackOverflow
@@NextLevelCode
this my question and not find answer yet
stackoverflow.com/questions/67459438/i-have-this-problem-import-flutter-flutter-h
difficult...please make it hll code
Flutter is coming
please do bi-weekly
wait, what about the ethernet cable folks?
I guess this is just for mobile app and not desktop.
For me it works on all desktops but not in web browsers.
DISCONTINUED
ir mejo
Bcz of this package i cant build my project anymore
I am sharvesh from Tamilnadu, India. I am studying class 10. I am learning flutter and firebase. And currently I am doing a voting app can anyone help me for that
Flutter overall uses so, so many embedded parenthesis and curly braces, which is a shame. That's one aspect of JavaScript Flutter didn't need to copy. It could have come up with a smoother more elegant solution.
Agreed, but we don't use Flutter because of its stetics nor because of its language, but because of its awesome framework