offline_checker 0.0.1 copy "offline_checker: ^0.0.1" to clipboard
offline_checker: ^0.0.1 copied to clipboard

PlatformAndroid

A Flutter package to check offline status and display a banner, snackbar, or dialog.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add offline_checker

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

dependencies:
  offline_checker: ^0.0.1

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:offline_checker/offline_checker.dart';
2
likes
140
points
27
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package to check offline status and display a banner, snackbar, or dialog.

Homepage

Documentation

API reference

License

MIT (license)

Dependencies

connectivity_plus, flutter

More

Packages that depend on offline_checker