Skip to main content

Connectivity Plus Overview#

Connectivity plus is Flutter plugin that allows your apps to get information about the network connectivity of the device, whether it's running on cellular or WiFi, and if it has an internet connection or not.

note

Connectivity plus is going to replace the original Connectivity plugin, if you have been using it, it's better to switch to this one.

Get started#

1. Add it to your project#

pubspec.yaml
dependencies:
flutter:
sdk: flutter
connectivity_plus: "^1.0.3"

2. Download dependency#

$ flutter pub get

3. Rebuild the app#

$ flutter run

Next steps#

Read the usage page to see examples of how to use the package.