Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way to check the strength of internet connection in flutter?

Tags:

flutter

I am trying to upload some multimedia files(Images, Audio and Videos) to my server and I only want to upload these files if there is a stable internet connection. Is there a concrete way to achieve this?

like image 743
fritz-playmaker Avatar asked Feb 18 '19 11:02

fritz-playmaker


People also ask

How do I check my flutter internet connection?

To check the internet connection in Flutter, you need to add the connectivity plus plugin and then you can check the internet connection by manually calling its checkConnectivity method or listen to the network connectivity changes by calling its onConnectivityChanged.

How do I check if my internet connection is stable?

To test your Internet stability, you'll need a computer on your network capable of issuing a "ping" command and receiving a response. Place the computer outside of your firewall or turn off any software firewalls that may be installed. It's also best to test your Internet through a cable connection and not Wi-Fi.

What is bandwidth in flutter?

Bandwidth is how many bits per second a link can transmit, and this is fixed for a medium/protocol.


1 Answers

One year after, there is a new (Mar. 31, 2020) package that solves this need. Check at https://pub.dev/packages/internet_speed_test#-readme-tab-

like image 115
abnerh69 Avatar answered Oct 25 '22 02:10

abnerh69