switcher_dart 1.0.0 copy "switcher_dart: ^1.0.0" to clipboard
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.

0
likes
120/ 140
pub points
3%
popularity

We analyzed this package 8 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

21 out of 75 API elements (28.0 %) have documentation comments.

Some symbols that are missing documentation: switcher_dart, switcher_dart.Crc16XmodemWith0x1021, switcher_dart.Crc16XmodemWith0x1021.Crc16XmodemWith0x1021, switcher_dart.SwitcherApiObject, switcher_dart.SwitcherApiObject.SwitcherApiObject.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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.dart that imports:
  • package:switcher_dart/src/switcher_api/switcher_discover.dart that imports:
  • package:switcher_dart/src/utils.dart that imports:
  • package:logger/logger.dart that imports:
  • package:logger/src/outputs/file_output_stub.dart that imports:
  • dart:io
failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 6 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

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

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

Package Constraint Compatible Latest
crclib ^3.0.0 3.0.0 3.0.0
logger ^2.0.2+1 2.2.0 2.2.0
Transitive dependencies
Package Constraint Compatible Latest
meta - 1.14.0 1.14.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

Analyzed with Pana 0.22.3, Dart 3.3.3.

Check the analysis log for details.

0
likes
120
pub points
3%
popularity

Publisher

unverified uploader

Control Switcher smart home accessories directly through LAN. Search, listen to changes and send commends to change state of devices.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

crclib, logger

More

Packages that depend on switcher_dart