online_offline 1.0.1 copy "online_offline: ^1.0.1" to clipboard
online_offline: ^1.0.1 copied to clipboard

Flutter package for monitoring internet connectivity in real-time using socket.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add online_offline

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

dependencies:
  online_offline: ^1.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:online_offline/online_offline.dart';
0
likes
160
points
268
downloads

Publisher

verified publisherfuadreza.top

Weekly Downloads

Flutter package for monitoring internet connectivity in real-time using socket.

Repository (GitHub)

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on online_offline