这是indexloc提供的服务,不要输入任何密码

network_type_reachability 1.3.3 copy "network_type_reachability: ^1.3.3" to clipboard
network_type_reachability: ^1.3.3 copied to clipboard

This plugin allows you to detect changes in the mobile network, 2G, 3G, 4G, 5G. it can also detect whether the internet connection status is real or not working and even unstable.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add network_type_reachability

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

dependencies:
  network_type_reachability: ^1.3.3

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_type_reachability/network_type_reachability.dart';
11
likes
140
points
33
downloads

Publisher

verified publisheralecodeando.com

Weekly Downloads

This plugin allows you to detect changes in the mobile network, 2G, 3G, 4G, 5G. it can also detect whether the internet connection status is real or not working and even unstable.

Homepage

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

dart_ping, dart_ping_ios, flutter, permission_handler

More

Packages that depend on network_type_reachability

Packages that implement network_type_reachability