webf_bluetooth 1.0.0
webf_bluetooth: ^1.0.0 copied to clipboard
WebF Bluetooth module for Bluetooth Low Energy operations. Provides device scanning, connection management, service discovery, and data transfer.
We analyzed this package 6 hours ago, and awarded it 110 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: Apache-2.0.
0/10 points: 20% or more of the public API has dartdoc comments
2 out of 30 API elements (6.7 %) 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: webf_bluetooth.BluetoothModule.BluetoothModule.new, webf_bluetooth.BluetoothModule.connect, webf_bluetooth.BluetoothModule.disconnect, webf_bluetooth.BluetoothModule.discoverServices, webf_bluetooth.BluetoothModule.dispatchEvent.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 4 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:webf_bluetooth/webf_bluetooth.dartthat imports:package:webf_bluetooth/src/bluetooth_module.dartthat imports:package:webf_bluetooth/src/bluetooth_module_bindings_generated.dartthat imports:package:webf/dom.dartthat imports:package:webf/src/dom/child_node_list.dartthat imports:package:webf/src/dom/collection_index_cache.dartthat imports:package:webf/src/dom/node.dartthat imports:package:webf/src/dom/node_data.dartthat imports:package:webf/src/dom/container_node.dartthat imports:package:webf/html.dartthat imports:package:webf/src/html/table.dartthat imports:package:webf/src/widget/widget_element.dartthat imports:package:webf/widget.dartthat imports:package:webf/src/widget/ensure_visible.dartthat imports:package:webf/rendering.dartthat imports:package:webf/src/rendering/br.dartthat imports:package:webf/css.dartthat imports:package:webf/src/css/element_rule_collector.dartthat imports:package:webf/src/css/query_selector.dartthat imports:package:webf/src/html/form/base_input.dartthat imports:package:webf/src/accessibility/semantics.dartthat imports:package:webf/foundation.dartthat imports:package:webf/src/foundation/dio_client.dartthat imports:package:webf/src/foundation/cupertino_adapter.dartthat imports:package:cupertino_http/cupertino_http.dartthat declares support for platforms:iOS,macOS.
Package does not support platform `Web`.
Because:
package:webf_bluetooth/webf_bluetooth.dartthat imports:package:webf_bluetooth/src/bluetooth_module.dartthat imports:package:webf_bluetooth/src/bluetooth_module_bindings_generated.dartthat imports:package:webf/dom.dartthat declares support for platforms:Android,iOS,Windows,Linux,macOS.
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:webf_bluetooth/webf_bluetooth.dartthat imports:package:webf_bluetooth/src/bluetooth_module.dartthat imports:package:webf_bluetooth/src/bluetooth_module_bindings_generated.dartthat imports:package:webf/dom.dartthat imports:package:webf/src/dom/child_node_list.dartthat imports:package:webf/src/dom/collection_index_cache.dartthat imports:package:webf/src/dom/node.dartthat imports:package:webf/src/dom/node_data.dartthat imports:package:webf/src/dom/container_node.dartthat imports:package:webf/html.dartthat imports:package:webf/src/html/table.dartthat imports:package:webf/src/widget/widget_element.dartthat imports:package:webf/widget.dartthat imports:package:webf/src/widget/ensure_visible.dartthat imports:package:webf/rendering.dartthat imports:package:webf/src/rendering/br.dartthat imports:package:webf/css.dartthat imports:package:webf/src/css/element_rule_collector.dartthat imports:package:webf/src/css/query_selector.dartthat imports:package:webf/src/html/form/base_input.dartthat imports:package:webf/src/accessibility/semantics.dartthat imports:package:webf/foundation.dartthat imports:package:webf/src/foundation/dio_client.dartthat imports:package:webf/src/foundation/cupertino_adapter.dartthat imports:package:cupertino_http/cupertino_http.dartthat declares support for platforms:iOS,macOS.
Package does not support platform `Linux`.
Because:
package:webf_bluetooth/webf_bluetooth.dartthat imports:package:webf_bluetooth/src/bluetooth_module.dartthat imports:package:webf_bluetooth/src/bluetooth_module_bindings_generated.dartthat imports:package:webf/dom.dartthat imports:package:webf/src/dom/child_node_list.dartthat imports:package:webf/src/dom/collection_index_cache.dartthat imports:package:webf/src/dom/node.dartthat imports:package:webf/src/dom/node_data.dartthat imports:package:webf/src/dom/container_node.dartthat imports:package:webf/html.dartthat imports:package:webf/src/html/table.dartthat imports:package:webf/src/widget/widget_element.dartthat imports:package:webf/widget.dartthat imports:package:webf/src/widget/ensure_visible.dartthat imports:package:webf/rendering.dartthat imports:package:webf/src/rendering/br.dartthat imports:package:webf/css.dartthat imports:package:webf/src/css/element_rule_collector.dartthat imports:package:webf/src/css/query_selector.dartthat imports:package:webf/src/html/form/base_input.dartthat imports:package:webf/src/accessibility/semantics.dartthat imports:package:webf/foundation.dartthat imports:package:webf/src/foundation/dio_client.dartthat imports:package:webf/src/foundation/cupertino_adapter.dartthat imports:package:cupertino_http/cupertino_http.dartthat declares support for platforms:iOS,macOS.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 56 issues. Showing the first 2:
WARNING: The '!' will have no effect because the receiver can't be null.
lib/src/bluetooth_module.dart:413:41
╷
413 │ final deviceId = options!.deviceId!;
│ ^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/bluetooth_module.dart
WARNING: The operand can't be 'null', so the condition is always 'false'.
lib/src/bluetooth_module.dart:642:28
╷
642 │ options.deviceId == null ||
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/bluetooth_module.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
flutter_blue_plus |
^1.32.0 |
1.36.8 | 2.3.0 | |
webf |
^0.24.0 |
0.24.27 | 0.24.27 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
archive |
- | 4.0.9 | 4.0.9 | |
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.1 | 2.13.1 | |
bluez |
- | 0.8.3 | 0.8.3 | |
boolean_selector |
- | 2.1.2 | 2.1.2 | |
characters |
- | 1.4.1 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
code_assets |
- | 1.0.0 | 1.0.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.7 | 3.0.7 | |
cupertino_http |
- | 2.4.0 | 2.4.0 | |
dbus |
- | 0.7.12 | 0.7.12 | |
dio |
- | 5.9.2 | 5.9.2 | |
dio_web_adapter |
- | 2.1.2 | 2.1.2 | |
ffi |
- | 2.2.0 | 2.2.0 | |
file |
- | 7.0.1 | 7.0.1 | |
flutter_blue_plus_android |
- | 7.0.4 | 9.0.0 | |
flutter_blue_plus_darwin |
- | 7.0.3 | 9.0.0 | |
flutter_blue_plus_linux |
- | 7.0.3 | 9.0.0 | |
flutter_blue_plus_platform_interface |
- | 7.0.0 | 9.0.0 | |
flutter_blue_plus_web |
- | 7.0.2 | 9.0.0 | |
flutter_svg |
- | 2.2.4 | 2.2.4 | |
glob |
- | 2.1.3 | 2.1.3 | |
hive_ce |
- | 2.19.3 | 2.19.3 | |
hooks |
- | 1.0.3 | 1.0.3 | |
http |
- | 1.6.0 | 1.6.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
http_profile |
- | 0.1.0 | 0.1.0 | |
intl |
- | 0.20.2 | 0.20.2 | |
isolate_channel |
- | 0.6.1 | 0.6.1 | |
jni |
- | 1.0.0 | 1.0.0 | |
jni_flutter |
- | 1.0.1 | 1.0.1 | |
json_annotation |
- | 4.11.0 | 4.11.0 | |
logging |
- | 1.3.0 | 1.3.0 | |
matcher |
- | 0.12.20 | 0.12.20 | |
material_color_utilities |
- | 0.13.0 | 0.13.0 | |
meta |
- | 1.17.0 | 1.18.2 | |
mime |
- | 2.0.0 | 2.0.0 | |
native_toolchain_c |
- | 0.17.6 | 0.18.0 | |
objective_c |
- | 9.3.0 | 9.3.0 | |
package_config |
- | 2.2.0 | 2.2.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_drawing |
- | 1.0.1 | 1.0.1 | |
path_parsing |
- | 1.1.0 | 1.1.0 | |
path_provider |
- | 2.1.5 | 2.1.5 | |
path_provider_android |
- | 2.3.1 | 2.3.1 | |
path_provider_foundation |
- | 2.6.0 | 2.6.0 | |
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 | |
petitparser |
- | 7.0.2 | 7.0.2 | |
platform |
- | 3.1.6 | 3.1.6 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
posix |
- | 6.5.0 | 6.5.0 | |
pub_semver |
- | 2.2.0 | 2.2.0 | |
quiver |
- | 3.2.2 | 3.2.2 | |
record_use |
- | 0.6.0 | 0.6.0 | |
rxdart |
- | 0.28.0 | 0.28.0 | |
shelf |
- | 1.4.2 | 1.4.2 | |
shelf_web_socket |
- | 2.0.1 | 3.0.0 | |
source_span |
- | 1.10.2 | 1.10.2 | |
stack_trace |
- | 1.12.1 | 1.12.1 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
test_api |
- | 0.7.12 | 0.7.12 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_graphics |
- | 1.2.0 | 1.2.0 | |
vector_graphics_codec |
- | 1.1.13 | 1.1.13 | |
vector_graphics_compiler |
- | 1.2.1 | 1.2.1 | |
vector_math |
- | 2.2.0 | 2.3.0 | |
web |
- | 1.1.1 | 1.1.1 | |
web_socket |
- | 1.0.1 | 1.0.1 | |
web_socket_channel |
- | 3.0.3 | 3.0.3 | |
webf_easy_refresh |
- | 3.4.2 | 3.4.2 | |
xdg_directories |
- | 1.1.0 | 1.1.0 | |
xml |
- | 6.6.1 | 7.0.1 | |
yaml |
- | 3.1.3 | 3.1.3 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^1.32.0` on flutter_blue_plus does not support the stable version `2.0.0`.
Try running dart pub upgrade --major-versions flutter_blue_plus 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.12, Flutter 3.41.7, Dart 3.11.5.
Check the analysis log for details.