internet_connectivity_check 0.0.2 copy "internet_connectivity_check: ^0.0.2" to clipboard
internet_connectivity_check: ^0.0.2 copied to clipboard

This package provides information about the state of internet connection. A permenant solution to Connectivity check problems arising from enabled wifi or mobile data with no internet Access.

Internet Connectivity Check #

This package provides information about the state of internet connection. A permenant solution to Connectivity check problems arising from enabled wifi or mobile data with no internet Access.

This package sends a small api get request to an open source api and provides a bool response.

Buy me a coffee #

If you like the package do consider giving a small cup of coffee for the developer, Thanks.

Features #

  1. Provides info about network connection withour relying on the state of wifi and mobile data.
  2. Uses a very small api to provide results faster.
  3. Very small in size does not effect the size of you application.
  4. Easy to install and use.
  5. Available on all platforms.

Usage #

To use this package import the package as

import 'package:internet_connectivity_check/internet_connectivity_check.dart';

and then use the provided check Internet Status Function and await the response.

 bool connectionStatus = await checkInternetStatus();

it is as easy as that a very small package to help in nearly every application

dependencies #

  1. http
  2. jsonplaceholder
2
likes
130
points
29
downloads

Publisher

unverified uploader

Weekly Downloads

This package provides information about the state of internet connection. A permenant solution to Connectivity check problems arising from enabled wifi or mobile data with no internet Access.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, http

More

Packages that depend on internet_connectivity_check