open_earable_flutter 2.2.1
open_earable_flutter: ^2.2.1 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 8 hours 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: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
151 out of 572 API elements (26.4 %) have documentation comments.
Some symbols that are missing documentation: open_earable_flutter, open_earable_flutter.Application, open_earable_flutter.Application.Application.fromJson, open_earable_flutter.Application.Application.new, open_earable_flutter.Application.appId.
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.dartthat imports:package:open_earable_flutter/src/models/capabilities/system_device.dartthat imports:package:open_earable_flutter/src/models/wearable_factory.dartthat imports:package:universal_ble/universal_ble.dartthat imports:package:universal_ble/src/universal_ble.dartthat imports:package:universal_ble/src/universal_ble_web/universal_ble_web.dartthat imports:package:flutter_web_bluetooth/flutter_web_bluetooth.dartthat declares support for platforms:Web.
Package does not support platform `iOS`.
Because:
package:open_earable_flutter/open_earable_flutter.dartthat imports:package:open_earable_flutter/src/models/capabilities/system_device.dartthat imports:package:open_earable_flutter/src/models/wearable_factory.dartthat imports:package:universal_ble/universal_ble.dartthat imports:package:universal_ble/src/universal_ble.dartthat imports:package:universal_ble/src/universal_ble_web/universal_ble_web.dartthat imports:package:flutter_web_bluetooth/flutter_web_bluetooth.dartthat declares support for platforms:Web.
Package does not support platform `Windows`.
Because:
package:open_earable_flutter/open_earable_flutter.dartthat imports:package:open_earable_flutter/src/fota/fota.dartthat imports:package:open_earable_flutter/src/fota/repository/firmware_image_repository.dartthat imports:package:open_earable_flutter/src/fota/model/firmware_update_request.dartthat imports:package:mcumgr_flutter/mcumgr_flutter.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Linux`.
Because:
package:open_earable_flutter/open_earable_flutter.dartthat imports:package:open_earable_flutter/src/fota/fota.dartthat imports:package:open_earable_flutter/src/fota/repository/firmware_image_repository.dartthat imports:package:open_earable_flutter/src/fota/model/firmware_update_request.dartthat imports:package:mcumgr_flutter/mcumgr_flutter.dartthat declares support for platforms:Android,iOS.
Package does not support platform `macOS`.
Because:
package:open_earable_flutter/open_earable_flutter.dartthat imports:package:open_earable_flutter/src/fota/fota.dartthat imports:package:open_earable_flutter/src/fota/repository/firmware_image_repository.dartthat imports:package:open_earable_flutter/src/fota/model/firmware_update_request.dartthat imports:package:mcumgr_flutter/mcumgr_flutter.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Web`.
Because:
package:open_earable_flutter/open_earable_flutter.dartthat imports:package:open_earable_flutter/src/fota/fota.dartthat imports:package:open_earable_flutter/src/fota/repository/firmware_image_repository.dartthat imports:package:open_earable_flutter/src/fota/model/firmware_update_request.dartthat imports:package:mcumgr_flutter/mcumgr_flutter.dartthat declares support for platforms:Android,iOS.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:open_earable_flutter/open_earable_flutter.dartthat imports:package:open_earable_flutter/src/fota/fota.dartthat imports:package:open_earable_flutter/src/fota/bloc/update_bloc.dartthat imports:package:open_earable_flutter/src/fota/handlers/firmware_update_handler.dartthat imports:package:path_provider/path_provider.dartthat imports:package:path_provider_platform_interface/path_provider_platform_interface.dartthat imports:package:path_provider_platform_interface/src/method_channel_path_provider.dartthat imports:package:platform/platform.dartthat imports:package:platform/src/interface/local_platform.dartthat 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.cn/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 30 issues. Showing the first 2:
INFO: Missing type annotation.
lib/src/managers/open_earable_sensor_manager.dart:141:49
╷
141 │ Future<List<Map<String, dynamic>>> _parseData(data) async {
│ ^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/managers/open_earable_sensor_manager.dart
INFO: Missing type annotation.
lib/src/managers/v2_sensor_handler.dart:83:49
╷
83 │ Future<List<Map<String, dynamic>>> _parseData(data) async {
│ ^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/managers/v2_sensor_handler.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
bloc |
^8.1.4 |
8.1.4 | 9.1.0 | |
convert |
^3.1.1 |
3.1.2 | 3.1.2 | |
equatable |
^2.0.5 |
2.0.7 | 2.0.7 | |
file_picker |
^8.1.7 |
8.3.7 | 10.3.6 | |
flutter_archive |
^6.0.0 |
6.0.3 | 6.0.3 | |
flutter_bloc |
^8.1.3 |
8.1.6 | 9.1.1 | |
http |
^1.1.2 |
1.6.0 | 1.6.0 | |
json_annotation |
^4.8.1 |
4.9.0 | 4.9.0 | |
logger |
^2.5.0 |
2.6.2 | 2.6.2 | |
mcumgr_flutter |
^0.4.2 |
0.4.2 | 0.6.1 | |
meta |
^1.16.0 |
1.17.0 | 1.17.0 | |
path_provider |
^2.1.1 |
2.1.5 | 2.1.5 | |
permission_handler |
^11.4.0 |
11.4.0 | 12.0.1 | |
provider |
^6.1.1 |
6.1.5+1 | 6.1.5+1 | |
pub_semver |
^2.2.0 |
2.2.0 | 2.2.0 | |
rxdart |
^0.27.7 |
0.27.7 | 0.28.0 | |
tuple |
^2.0.2 |
2.0.2 | 2.0.2 | |
typed_data |
^1.3.2 |
1.4.0 | 1.4.0 | |
universal_ble |
^0.17.0 |
0.17.0 | 0.21.1 | |
uuid |
^4.2.1 |
4.5.2 | 4.5.2 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.0 | 2.13.0 | |
bluez |
- | 0.8.3 | 0.8.3 | |
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
cross_file |
- | 0.3.5 | 0.3.5 | |
crypto |
- | 3.0.7 | 3.0.7 | |
dbus |
- | 0.7.11 | 0.7.11 | |
ffi |
- | 2.1.4 | 2.1.4 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
flutter_plugin_android_lifecycle |
- | 2.0.32 | 2.0.32 | |
flutter_web_bluetooth |
- | 1.1.0 | 1.1.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
logging |
- | 1.3.0 | 1.3.0 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
nested |
- | 1.0.0 | 1.0.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_provider_android |
- | 2.2.21 | 2.2.21 | |
path_provider_foundation |
- | 2.4.4 | 2.4.4 | |
path_provider_linux |
- | 2.2.1 | 2.2.1 | |
path_provider_platform_interface |
- | 2.1.2 | 2.1.2 | |
path_provider_windows |
- | 2.3.0 | 2.3.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 |
- | 7.0.1 | 7.0.1 | |
platform |
- | 3.1.6 | 3.1.6 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
protobuf |
- | 3.1.0 | 5.1.0 | |
source_span |
- | 1.10.1 | 1.10.1 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
web |
- | 1.1.1 | 1.1.1 | |
win32 |
- | 5.15.0 | 5.15.0 | |
xdg_directories |
- | 1.1.0 | 1.1.0 | |
xml |
- | 6.6.1 | 6.6.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
Found 7 issues. Showing the first 2:
The constraint `^8.1.4` on bloc does not support the stable version `9.0.0`.
Try running dart pub upgrade --major-versions bloc to update the constraint.
The constraint `^8.1.7` on file_picker does not support the stable version `9.0.0`.
Try running dart pub upgrade --major-versions file_picker 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.23.1, Flutter 3.38.0, Dart 3.10.0-290.4.beta.
Check the analysis log for details.