How do you check internet is on or off in flutter?

To check whether the device is connected to a Wi-Fi or mobile network, you can use the connectivity_plus package , which has the capability to check the current connectivity state and listen to connectivity state change. If you want to check whether the device has internet access, you can perform an address lookup.

Sizin İçin Seçtik  How do you check WIFI is on or off in flutter?

Leave a Reply

Your email address will not be published. Required fields are marked *