open_earable_flutter 0.1.0
open_earable_flutter: ^0.1.0 copied to clipboard
This package provides functionality for interacting with OpenEarable devices. Control LED colors, control audio, and access raw sensor data.
We analyzed this package 3 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: MIT
.
0/10 points: 20% or more of the public API has dartdoc comments
42 out of 320 API elements (13.1 %) 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: open_earable_flutter
, open_earable_flutter.AudioMode
, open_earable_flutter.AudioMode.AudioMode.new
, open_earable_flutter.AudioMode.id
, open_earable_flutter.AudioMode.key
.
10/10 points: Package has an example
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
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:open_earable_flutter/open_earable_flutter.dart
that imports:package:open_earable_flutter/src/models/capabilities/sensor_configuration_specializations/sensor_configuration_open_earable_v2.dart
that imports:package:open_earable_flutter/src/managers/v2_sensor_handler.dart
that imports:package:open_earable_flutter/src/managers/ble_manager.dart
that imports:package:universal_ble/universal_ble.dart
that imports:package:universal_ble/src/universal_ble.dart
that imports:package:universal_ble/src/universal_ble_web/universal_ble_web.dart
that imports:package:flutter_web_bluetooth/flutter_web_bluetooth.dart
that declares support for platforms:Web
.
Package does not support platform `iOS`.
Because:
package:open_earable_flutter/open_earable_flutter.dart
that imports:package:open_earable_flutter/src/models/capabilities/sensor_configuration_specializations/sensor_configuration_open_earable_v2.dart
that imports:package:open_earable_flutter/src/managers/v2_sensor_handler.dart
that imports:package:open_earable_flutter/src/managers/ble_manager.dart
that imports:package:universal_ble/universal_ble.dart
that imports:package:universal_ble/src/universal_ble.dart
that imports:package:universal_ble/src/universal_ble_web/universal_ble_web.dart
that imports:package:flutter_web_bluetooth/flutter_web_bluetooth.dart
that declares support for platforms:Web
.
Package does not support platform `Windows`.
Because:
package:open_earable_flutter/open_earable_flutter.dart
that imports:package:open_earable_flutter/src/models/capabilities/sensor_configuration_specializations/sensor_configuration_open_earable_v2.dart
that imports:package:open_earable_flutter/src/managers/v2_sensor_handler.dart
that imports:package:open_earable_flutter/src/managers/ble_manager.dart
that imports:package:universal_ble/universal_ble.dart
that imports:package:universal_ble/src/universal_ble.dart
that imports:package:universal_ble/src/universal_ble_web/universal_ble_web.dart
that imports:package:flutter_web_bluetooth/flutter_web_bluetooth.dart
that declares support for platforms:Web
.
Package does not support platform `Linux`.
Because:
package:open_earable_flutter/open_earable_flutter.dart
that imports:package:open_earable_flutter/src/models/capabilities/sensor_configuration_specializations/sensor_configuration_open_earable_v2.dart
that imports:package:open_earable_flutter/src/managers/v2_sensor_handler.dart
that imports:package:open_earable_flutter/src/managers/ble_manager.dart
that imports:package:universal_ble/universal_ble.dart
that imports:package:universal_ble/src/universal_ble.dart
that imports:package:universal_ble/src/universal_ble_web/universal_ble_web.dart
that imports:package:flutter_web_bluetooth/flutter_web_bluetooth.dart
that declares support for platforms:Web
.
Package does not support platform `macOS`.
Because:
package:open_earable_flutter/open_earable_flutter.dart
that imports:package:open_earable_flutter/src/models/capabilities/sensor_configuration_specializations/sensor_configuration_open_earable_v2.dart
that imports:package:open_earable_flutter/src/managers/v2_sensor_handler.dart
that imports:package:open_earable_flutter/src/managers/ble_manager.dart
that imports:package:universal_ble/universal_ble.dart
that imports:package:universal_ble/src/universal_ble.dart
that imports:package:universal_ble/src/universal_ble_web/universal_ble_web.dart
that imports:package:flutter_web_bluetooth/flutter_web_bluetooth.dart
that declares support for platforms:Web
.
Package does not support platform `Web`.
Because:
package:open_earable_flutter/open_earable_flutter.dart
that imports:package:open_earable_flutter/src/models/capabilities/sensor_configuration_specializations/sensor_configuration_open_earable_v2.dart
that imports:package:open_earable_flutter/src/managers/v2_sensor_handler.dart
that imports:package:open_earable_flutter/src/managers/ble_manager.dart
that imports:package:universal_ble/universal_ble.dart
that imports:package:universal_ble/src/universal_ble.dart
that imports:package:universal_ble/src/universal_ble_linux/universal_ble_linux.dart
that imports:package:bluez/bluez.dart
that declares support for platforms:Linux
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:open_earable_flutter/open_earable_flutter.dart
that imports:package:open_earable_flutter/src/models/capabilities/sensor_configuration_specializations/sensor_configuration_open_earable_v2.dart
that imports:package:open_earable_flutter/src/managers/v2_sensor_handler.dart
that imports:package:open_earable_flutter/src/managers/ble_manager.dart
that imports:package:universal_ble/universal_ble.dart
that imports:package:universal_ble/src/universal_ble.dart
that imports:package:universal_ble/src/universal_ble_linux/universal_ble_linux.dart
that imports:package:bluez/bluez.dart
that imports:package:bluez/src/bluez_client.dart
that imports:package:bluez/src/bluez_agent.dart
that imports:package:dbus/dbus.dart
that imports:package:dbus/src/dbus_value.dart
that imports:dart:io
This package is not compatible with runtime wasm
, and will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 17 issues. Showing the first 2:
/tmp/pana_OPVFUG/lib/open_earable_flutter.dart doesn't match the Dart formatter.
To format your files run: dart format .
/tmp/pana_OPVFUG/lib/src/constants.dart doesn't match the Dart formatter.
To format your files run: dart format .
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
convert |
^3.1.1 |
3.1.2 | 3.1.2 | |
logger |
^2.5.0 |
2.6.0 | 2.6.0 | |
permission_handler |
^11.4.0 |
11.4.0 | 12.0.0+1 | |
typed_data |
^1.3.2 |
1.4.0 | 1.4.0 | |
universal_ble |
^0.17.0 |
0.17.0 | 0.20.1 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
args |
- | 2.7.0 | 2.7.0 | |
bluez |
- | 0.8.3 | 0.8.3 | |
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
dbus |
- | 0.7.11 | 0.7.11 | |
ffi |
- | 2.1.4 | 2.1.4 | |
flutter_web_bluetooth |
- | 1.1.0 | 1.1.0 | |
logging |
- | 1.3.0 | 1.3.0 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
permission_handler_android |
- | 12.1.0 | 13.0.1 | |
permission_handler_apple |
- | 9.4.7 | 9.4.7 | |
permission_handler_html |
- | 0.1.3+5 | 0.1.3+5 | |
permission_handler_platform_interface |
- | 4.3.0 | 4.3.0 | |
permission_handler_windows |
- | 0.2.1 | 0.2.1 | |
petitparser |
- | 6.1.0 | 7.0.0 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
vector_math |
- | 2.1.4 | 2.2.0 | |
web |
- | 1.1.1 | 1.1.1 | |
xml |
- | 6.5.0 | 6.6.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^11.4.0` on permission_handler does not support the stable version `12.0.0`.
Try running dart pub upgrade --major-versions permission_handler
to update the constraint.
The constraint `^0.17.0` on universal_ble does not support the stable version `0.18.0`.
Try running dart pub upgrade --major-versions universal_ble
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.22.21
, Flutter 3.32.4
, Dart 3.8.1
.
Check the analysis log for details.