connectivity_handler 0.0.3
connectivity_handler: ^0.0.3 copied to clipboard
Using this package you can handle your internet connectivity easyly.
We analyzed this package 6 days ago, and awarded it 130 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: BSD-3-Clause.
10/10 points: 20% or more of the public API has dartdoc comments
1 out of 4 API elements (25.0 %) have documentation comments.
Some symbols that are missing documentation: connectivity_handler, connectivity_handler.ConnectivityHandler, connectivity_handler.ConnectivityHandler.ConnectivityHandler.new.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
WASM-ready: This package is compatible with runtime wasm. See https://dart.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
INFO: An uninitialized variable should have an explicit type annotation.
lib/src/network_manager.dart:24:9
╷
24 │ var connectivityResult;
│ ^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/network_manager.dart
INFO: Missing type annotation.
lib/src/network_manager.dart:35:3
╷
35 │ _updateState(ConnectivityResult result)
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/network_manager.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
connectivity_plus |
^2.2.1 |
2.3.9 | 7.0.0 | |
get |
^4.6.1 |
4.7.3 | 4.7.3 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
args |
- | 2.7.0 | 2.7.0 | |
characters |
- | 1.4.1 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
connectivity_plus_linux |
- | 1.3.1 | 1.3.1 | Discontinued |
connectivity_plus_macos |
- | 1.2.6 | 1.2.6 | Discontinued |
connectivity_plus_platform_interface |
- | 1.2.4 | 2.0.1 | |
connectivity_plus_web |
- | 1.2.5 | 1.2.5 | Discontinued |
connectivity_plus_windows |
- | 1.2.2 | 1.2.2 | Discontinued |
dbus |
- | 0.7.12 | 0.7.12 | |
ffi |
- | 2.2.0 | 2.2.0 | |
js |
- | 0.6.7 | 0.7.2 | Discontinued |
material_color_utilities |
- | 0.13.0 | 0.13.0 | |
meta |
- | 1.17.0 | 1.18.1 | |
nm |
- | 0.5.0 | 0.5.0 | |
petitparser |
- | 7.0.2 | 7.0.2 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
web |
- | 1.1.1 | 1.1.1 | |
xml |
- | 6.6.1 | 6.6.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^2.2.1` on connectivity_plus does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions connectivity_plus to update the constraint.
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.23.10, Flutter 3.41.0, Dart 3.11.0.
Check the analysis log for details.