flutter_reachability_plus 0.0.4 copy "flutter_reachability_plus: ^0.0.4" to clipboard
flutter_reachability_plus: ^0.0.4 copied to clipboard

flutter_reachability_plus

flutter_reachability_plus #

flutter_reachability_plus

Getting Started #

flutter_reachability_plus

This plugin allows Flutter apps to detect network changes. it will detect mobile network types, such as 2G, 3G, 4G, 5G. This plugin is suitable for iOS and Android, it can also detect if the internet connection.

Depending on : permission_handler:


 checkRechability() async {
    if (Platform.isAndroid) {
      await Permission.phone.request(); // Need to add : permission handler 
    }
    NetworkStatus status = await FlutterReachabilityPlus().currentNetworkStatus();
  }

3
likes
140
points
1.49k
downloads

Publisher

unverified uploader

Weekly Downloads

flutter_reachability_plus

Homepage

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on flutter_reachability_plus