connectivity_widget 2.0.0 copy "connectivity_widget: ^2.0.0" to clipboard
connectivity_widget: ^2.0.0 copied to clipboard

A widget that shows the user if the phone is connected to the internet or not

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add connectivity_widget

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  connectivity_widget: ^2.0.0

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:connectivity_widget/connectivity_widget.dart';
81
likes
120
pub points
85%
popularity

Publisher

verified publishergpalma.pt

A widget that shows the user if the phone is connected to the internet or not

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-2-Clause (LICENSE)

Dependencies

connectivity_plus, flutter, http, retry, rxdart, stream_disposable

More

Packages that depend on connectivity_widget