stream_internet_status 0.0.5
stream_internet_status: ^0.0.5 copied to clipboard
A plugin can auto detec the internet is online or offline.
We analyzed this package 20 days ago, and awarded it 110 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
-
pubspec.yamldoesn't have ahomepageentry. -
pubspec.yamldoesn't have arepositoryentry.
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
0/10 points: Use an OSI-approved license
No license was recognized.
Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.
0/10 points: 20% or more of the public API has dartdoc comments
3 out of 19 API elements (15.8 %) have documentation comments.
Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.
To highlight public API members missing documentation consider enabling the public_member_api_docs lint.
Some symbols that are missing documentation: network_aware_widget, network_aware_widget.NetworkAwareWidget, network_aware_widget.NetworkAwareWidget.NetworkAwareWidget.new, network_aware_widget.NetworkAwareWidget.offlineChild, network_aware_widget.NetworkAwareWidget.onlineChild.
10/10 points: Package has an example
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:stream_internet_status/stream_internet_status.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Linux`.
Because:
package:stream_internet_status/stream_internet_status.dartthat declares support for platforms:Android,iOS.
Package does not support platform `macOS`.
Because:
package:stream_internet_status/stream_internet_status.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Web`.
Because:
package:stream_internet_status/stream_internet_status.dartthat declares support for platforms:Android,iOS.
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:stream_internet_status/stream_internet_status.dartthat imports:package:stream_internet_status/network_status_service.dartthat imports:package:connectivity_plus/connectivity_plus.dartthat imports:package:connectivity_plus/src/connectivity_plus_linux.dartthat imports:package:nm/nm.dartthat declares support for platforms:Linux.
Package does not support platform `iOS`.
Because:
package:stream_internet_status/stream_internet_status.dartthat imports:package:stream_internet_status/network_status_service.dartthat imports:package:connectivity_plus/connectivity_plus.dartthat imports:package:connectivity_plus/src/connectivity_plus_linux.dartthat imports:package:nm/nm.dartthat declares support for platforms:Linux.
0/0 points: Swift Package Manager support
Package does not support the Swift Package Manager on iOS
It does not contain ios/stream_internet_status/Package.swift.
This package for iOS or macOS does not support the Swift Package Manager. It will not receive full points in a future version of the scoring model.
See https://docs.flutter.dev/to/spm for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 5 issues. Showing the first 2:
WARNING: Unused import: 'package:flutter/widgets.dart'.
lib/network_status_service.dart:5:8
╷
5 │ import 'package:flutter/widgets.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/network_status_service.dart
INFO: Parameter 'key' could be a super parameter.
lib/network_aware_widget.dart:9:9
╷
9 │ const NetworkAwareWidget({Key? key, required this.onlineChild, required this.offlineChild}) : super(key: key);
│ ^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/network_aware_widget.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
connectivity_plus |
^7.0.0 |
7.0.0 | 7.0.0 | |
plugin_platform_interface |
^2.1.8 |
2.1.8 | 2.1.8 | |
provider |
^6.1.5 |
6.1.5+1 | 6.1.5+1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
args |
- | 2.7.0 | 2.7.0 | |
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
connectivity_plus_platform_interface |
- | 2.0.1 | 2.0.1 | |
dbus |
- | 0.7.11 | 0.7.11 | |
ffi |
- | 2.1.4 | 2.1.4 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.17.0 | |
nested |
- | 1.0.0 | 1.0.0 | |
nm |
- | 0.5.0 | 0.5.0 | |
petitparser |
- | 7.0.1 | 7.0.1 | |
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.
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.3, Flutter 3.38.4, Dart 3.10.3.
Check the analysis log for details.