switcher_dart 1.0.0
switcher_dart: ^1.0.0 copied to clipboard
Control Switcher smart home accessories directly through LAN. Search, listen to changes and send commends to change state of devices.
We analyzed this package 2 days ago, and awarded it 140 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
21 out of 74 API elements (28.4 %) have documentation comments.
Some symbols that are missing documentation: switcher_dart, switcher_dart.Crc16XmodemWith0x1021, switcher_dart.Crc16XmodemWith0x1021.Crc16XmodemWith0x1021.new, switcher_dart.SwitcherApiObject, switcher_dart.SwitcherApiObject.SwitcherApiObject.createWithBytes.
10/10 points: Package has an example
20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package not compatible with platform Web
Because:
package:switcher_dart/switcher_dart.dartthat imports:package:switcher_dart/src/switcher_api/switcher_discover.dartthat imports:package:switcher_dart/src/utils.dartthat imports:package:logger/logger.dartthat imports:package:logger/src/outputs/advanced_file_output_stub.dartthat imports:dart:io
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 7 issues. Showing the first 2:
WARNING: The value of the local variable 'event' isn't used.
lib/src/switcher_api/switcher_discover.dart:17:24
╷
17 │ await for (final event in socket20002) {
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/switcher_api/switcher_discover.dart
WARNING: The value of the local variable 'event' isn't used.
lib/src/switcher_api/switcher_discover.dart:38:24
╷
38 │ await for (final event in socket20003) {
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/switcher_api/switcher_discover.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
crclib |
^3.0.0 |
3.0.0 | 3.0.0 | |
logger |
^2.0.2+1 |
2.6.2 | 2.6.2 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
meta |
- | 1.17.0 | 1.17.0 | |
tuple |
- | 2.0.2 | 2.0.2 |
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.2, Dart 3.10.0.
Check the analysis log for details.