connectivity_state_plus 0.1.6
connectivity_state_plus: ^0.1.6 copied to clipboard
Flutter plugin to detect and monitor real-time network connectivity status—including WiFi, cellular (mobile), and restricted networks—seamlessly across Android and iOS.
We analyzed this package 3 hours ago, and awarded it 150 pub points (of a possible 160):
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: MIT
.
10/10 points: 20% or more of the public API has dartdoc comments
12 out of 19 API elements (63.2 %) have documentation comments.
Some symbols that are missing documentation: connectivity_state_plus
, connectivity_state_plus.Connectivity.Connectivity.getInstance
, connectivity_state_plus.Connectivity.setAddressCheckOption
, connectivity_state_plus.ConnectivityPlusLinuxPlugin.ConnectivityPlusLinuxPlugin.new
, connectivity_state_plus.ConnectivityPlusLinuxPlugin.createClient
.
10/10 points: Package has an example
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
These issues are present but do not affect the score, because they may not originate in your package:
Package does not support platform `Android`.
Because:
package:connectivity_state_plus/connectivity_state_plus.dart
that imports:package:connectivity_state_plus/src/connectivity_plus_linux.dart
that imports:package:nm/nm.dart
that declares support for platforms:Linux
.
Package does not support platform `iOS`.
Because:
package:connectivity_state_plus/connectivity_state_plus.dart
that imports:package:connectivity_state_plus/src/connectivity_plus_linux.dart
that imports:package:nm/nm.dart
that declares support for platforms:Linux
.
Package does not support platform `Windows`.
Because:
package:connectivity_state_plus/connectivity_state_plus.dart
that imports:package:connectivity_state_plus/src/connectivity_plus_linux.dart
that imports:package:nm/nm.dart
that declares support for platforms:Linux
.
Package does not support platform `macOS`.
Because:
package:connectivity_state_plus/connectivity_state_plus.dart
that imports:package:connectivity_state_plus/src/connectivity_plus_linux.dart
that imports:package:nm/nm.dart
that declares support for platforms:Linux
.
Package not compatible with platform Web
Because:
package:connectivity_state_plus/connectivity_state_plus.dart
that imports:dart:io
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:connectivity_state_plus/connectivity_state_plus.dart
that imports:dart:io
This package is not compatible with runtime wasm
, and will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
0/0 points: Swift Package Manager support
This iOS or macOS plugin supports the Swift Package Manager. It will be rewarded additional points in a future version of the scoring model.
See https://docs.flutter.dev/to/spm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
INFO: 'dart:html' is deprecated and shouldn't be used. Use package:web and dart:js_interop instead.
lib/src/web/utils/connectivity_result.dart:1:1
╷
1 │ import 'dart:html' as html show NetworkInformation;
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/web/utils/connectivity_result.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
collection |
^1.18.0 |
1.19.1 | 1.19.1 | |
connectivity_plus_platform_interface |
^2.0.1 |
2.0.1 | 2.0.1 | |
meta |
^1.8.0 |
1.16.0 | 1.16.0 | |
nm |
^0.5.0 |
0.5.0 | 0.5.0 | |
web |
>=0.5.0 <2.0.0 |
1.1.1 | 1.1.1 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
args |
- | 2.7.0 | 2.7.0 | |
characters |
- | 1.4.0 | 1.4.0 | |
dbus |
- | 0.7.11 | 0.7.11 | |
ffi |
- | 2.1.4 | 2.1.4 | |
material_color_utilities |
- | 0.11.1 | 0.12.0 | |
petitparser |
- | 6.1.0 | 6.1.0 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
vector_math |
- | 2.1.4 | 2.1.5 | |
xml |
- | 6.5.0 | 6.5.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade
does not expose any static analysis error.
Analyzed with Pana 0.22.20
, Flutter 3.29.2
, Dart 3.7.2
.
Check the analysis log for details.