online_checker 1.0.0 copy "online_checker: ^1.0.0" to clipboard
online_checker: ^1.0.0 copied to clipboard

Simple check connection (internet) for Mobile and Desktop.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add online_checker

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

dependencies:
  online_checker: ^1.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:online_checker/online_checker.dart';
0
likes
130
points
46
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Simple check connection (internet) for Mobile and Desktop.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter

More

Packages that depend on online_checker