flutter_weigh_serial 1.0.0+2 copy "flutter_weigh_serial: ^1.0.0+2" to clipboard
flutter_weigh_serial: ^1.0.0+2 copied to clipboard

提供电子秤数据获取能力,支持 Android、Windows 平台。

4
likes
105/ 140
pub points
26%
popularity

We analyzed this package 3 days ago, and awarded it 105 pub points (of a possible 140):

failed
Follow Dart file conventions
15 / 30trigger folding of the section

0/10 points: Provide a valid pubspec.yaml

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

The package description contains too many non-ASCII characters.

The site uses English as its primary language. The content of the description field in your package's pubspec.yaml should primarily contain characters used in English.

5/5 points: Provide a valid README.md

0/5 points: Provide a valid CHANGELOG.md

No `CHANGELOG.md` found.

Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.

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

18 out of 55 API elements (32.7 %) have documentation comments.

Some symbols that are missing documentation: flutter_weigh_serial, flutter_weigh_serial.BaseUsbSerialFactory, flutter_weigh_serial.BaseUsbSerialFactory.BaseUsbSerialFactory, flutter_weigh_serial.BaseUsbSerialFactory.usbSerial, flutter_weigh_serial.PlatForm.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 2 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android
  • ✓ Windows

These platforms are not supported:

Package does not support platform `iOS`.

Because:

  • package:flutter_weigh_serial/flutter_weigh_serial.dart that declares support for platforms: Android, Windows.
Package does not support platform `Linux`.

Because:

  • package:flutter_weigh_serial/flutter_weigh_serial.dart that declares support for platforms: Android, Windows.
Package does not support platform `macOS`.

Because:

  • package:flutter_weigh_serial/flutter_weigh_serial.dart that declares support for platforms: Android, Windows.
Package does not support platform `Web`.

Because:

  • package:flutter_weigh_serial/flutter_weigh_serial.dart that declares support for platforms: Android, Windows.

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:flutter_weigh_serial/flutter_weigh_serial.dart that imports:
  • package:flutter_weigh_serial/src/usb_serial/usb_serial_factory.dart that imports:
  • package:flutter_weigh_serial/src/usb_serial/platform/usb_serial_windows.dart that imports:
  • package:serial_port_win32/serial_port_win32.dart that declares support for platforms: Windows.
Package does not support platform `Windows`.

Because:

  • package:flutter_weigh_serial/flutter_weigh_serial.dart that imports:
  • package:flutter_weigh_serial/src/usb_serial/usb_serial_factory.dart that imports:
  • package:flutter_weigh_serial/src/usb_serial/platform/usb_serial_android.dart that imports:
  • package:usb_serial/usb_serial.dart that declares support for platforms: Android.
partial
Pass static analysis
40 / 50trigger folding of the section

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

lib/flutter_weigh_serial.dart doesn't match the Dart formatter.

To format your files run: dart format .

lib/src/extension/usb_serial_ex.dart doesn't match the Dart formatter.

To format your files run: dart format .

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

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

Package Constraint Compatible Latest
dartx ^1.1.0 1.2.0 1.2.0
flutter flutter 0.0.0 0.0.0
rxdart ^0.27.7 0.27.7 0.27.7
serial_port_win32 ^0.7.0 0.7.0 1.3.0
usb_serial ^0.4.0 0.4.0 0.5.1
Transitive dependencies
Package Constraint Compatible Latest
async - 2.11.0 2.11.0
characters - 1.3.0 1.3.0
clock - 1.1.1 1.1.1
collection - 1.18.0 1.18.0
crypto - 3.0.3 3.0.3
ffi - 2.1.2 2.1.2
material_color_utilities - 0.8.0 0.11.1
meta - 1.11.0 1.14.0
path - 1.9.0 1.9.0
sky_engine - 0.0.99 0.0.99
time - 2.1.4 2.1.4
typed_data - 1.3.2 1.3.2
vector_math - 2.1.4 2.1.4
win32 - 4.1.4 5.5.0

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^0.7.0` on serial_port_win32 does not support the stable version `1.1.0`.

Try running dart pub upgrade --major-versions serial_port_win32 to update the constraint.

The constraint `^0.4.0` on usb_serial does not support the stable version `0.5.0`.

Try running dart pub upgrade --major-versions usb_serial to update the constraint.

10/10 points: Package supports latest stable Dart and Flutter SDKs

Analyzed with Pana 0.22.3, Flutter 3.19.6, Dart 3.3.4.

Check the analysis log for details.

4
likes
105
pub points
26%
popularity

Publisher

unverified uploader

提供电子秤数据获取能力,支持 Android、Windows 平台。

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

dartx, flutter, rxdart, serial_port_win32, usb_serial

More

Packages that depend on flutter_weigh_serial