network_connectivity_bridge 0.0.9 copy "network_connectivity_bridge: ^0.0.9" to clipboard
network_connectivity_bridge: ^0.0.9 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 Dart:

 $ dart pub add network_connectivity_bridge

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 dart pub get):

dependencies:
  network_connectivity_bridge: ^0.0.9

Alternatively, your editor might support dart pub get or 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
0
points
47
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

License

unknown (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