network_connectivity_bridge 0.1.2 copy "network_connectivity_bridge: ^0.1.2" to clipboard
network_connectivity_bridge: ^0.1.2 copied to clipboard

A singleton wrapper for connectivity_plus to avoid listener conflicts in plugins and apps. This ensures that both plugins and your app can listen to network status changes safely.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add network_connectivity_bridge

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

dependencies:
  network_connectivity_bridge: ^0.1.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_connectivity_bridge/network_connectivity_bridge.dart';
1
likes
160
points
105
downloads

Publisher

unverified uploader

Weekly Downloads

A singleton wrapper for connectivity_plus to avoid listener conflicts in plugins and apps. This ensures that both plugins and your app can listen to network status changes safely.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

connectivity_plus, flutter, flutter_web_plugins, plugin_platform_interface, web

More

Packages that depend on network_connectivity_bridge

Packages that implement network_connectivity_bridge