network_aware_package 1.0.2 copy "network_aware_package: ^1.0.2" to clipboard
network_aware_package: ^1.0.2 copied to clipboard

A lightweight Flutter package to detect online/offline status.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add network_aware_package

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

dependencies:
  network_aware_package: ^1.0.2

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:network_aware_package/network_aware_package.dart';
1
likes
140
points
139
downloads

Publisher

unverified uploader

Weekly Downloads

A lightweight Flutter package to detect online/offline status.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

connectivity_plus, flutter

More

Packages that depend on network_aware_package