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.

10
likes
120/ 140
pub points
92%
popularity

We analyzed this package 13 days ago, and awarded it 120 pub points (of a possible 140):

OK
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

OK
Provide documentation
20 / 20trigger folding of the section

10/10 points: 20% or more of the public API has dartdoc comments

7 out of 16 API elements (43.8 %) have documentation comments.

Some symbols that are missing documentation: network_type_reachability, network_type_reachability.InternetStatusConnection, network_type_reachability.InternetStatusConnection.InternetStatusConnection, network_type_reachability.NetworkStatus, network_type_reachability.NetworkStatus.NetworkStatus.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 2 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android
  • ✓ iOS

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:network_type_reachability/network_type_reachability.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

  • package:network_type_reachability/network_type_reachability.dart that declares support for platforms: Android, iOS.
Package does not support platform `macOS`.

Because:

  • package:network_type_reachability/network_type_reachability.dart that declares support for platforms: Android, iOS.
Package does not support platform `Web`.

Because:

  • package:network_type_reachability/network_type_reachability.dart that declares support for platforms: Android, iOS.
partial
Pass static analysis
40 / 50trigger folding of the section

40/50 points: code has no errors, warnings, lints, or formatting issues

INFO: Empty catch block.

lib/network_type_reachability.dart:144:23

    ╷
144 │       } catch (error) {}
    │                       ^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/network_type_reachability.dart

failed
Support up-to-date dependencies
10 / 20trigger folding of the section

0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
dart_ping ^6.1.2 6.1.2 9.0.1
dart_ping_ios ^1.1.0 1.1.0 4.0.2
flutter flutter 0.0.0 0.0.0
permission_handler ^9.2.0 9.2.0 11.3.1
Transitive dependencies
Package Constraint Compatible Latest
async - 2.11.0 2.11.0
characters - 1.3.0 1.3.0
collection - 1.18.0 1.18.0
flutter_icmp_ping - 3.1.3 3.1.3
material_color_utilities - 0.8.0 0.11.1
meta - 1.11.0 1.14.0
permission_handler_android - 9.0.2+1 12.0.5
permission_handler_apple - 9.1.4 9.4.4
permission_handler_platform_interface - 3.12.0 4.2.1
permission_handler_windows - 0.1.3 0.2.1
plugin_platform_interface - 2.1.8 2.1.8
sky_engine - 0.0.99 0.0.99
vector_math - 2.1.4 2.1.4

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Found 3 issues. Showing the first 2:

The constraint `^6.1.2` on dart_ping does not support the stable version `7.0.0`.

Try running dart pub upgrade --major-versions dart_ping to update the constraint.

The constraint `^1.1.0` on dart_ping_ios does not support the stable version `2.0.0`.

Try running dart pub upgrade --major-versions dart_ping_ios to update the constraint.

10/10 points: Package supports latest stable Dart and Flutter SDKs

Analyzed with Pana 0.22.3, Flutter 3.19.5, Dart 3.3.3.

Check the analysis log for details.

10
likes
120
pub points
92%
popularity

Publisher

verified publisheralecodeando.com

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