flutter_web_bluetooth 1.1.0
flutter_web_bluetooth: ^1.1.0 copied to clipboard
A library to use the web bluetooth api in your web project. Will play nice if used in IO projects.
We analyzed this package 2 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
474 out of 475 API elements (99.8 %) have documentation comments.
Some symbols that are missing documentation: flutter_web_bluetooth.
10/10 points: Package has an example
20/20 points: Supports 1 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- ✓ Web
These platforms are not supported:
Package does not support platform `Android`.
Because:
package:flutter_web_bluetooth/flutter_web_bluetooth.dartthat declares support for platforms:Web.
Package does not support platform `iOS`.
Because:
package:flutter_web_bluetooth/flutter_web_bluetooth.dartthat declares support for platforms:Web.
Package does not support platform `Windows`.
Because:
package:flutter_web_bluetooth/flutter_web_bluetooth.dartthat declares support for platforms:Web.
Package does not support platform `Linux`.
Because:
package:flutter_web_bluetooth/flutter_web_bluetooth.dartthat declares support for platforms:Web.
Package does not support platform `macOS`.
Because:
package:flutter_web_bluetooth/flutter_web_bluetooth.dartthat declares support for platforms:Web.
WASM-ready: This package is compatible with runtime wasm. See https://dart.dev/web/wasm for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 4 issues. Showing the first 2:
WARNING: Returning a 'Future' without 'await' inside a try block.
lib/src/bluetooth_characteristic.dart:244:9
╷
244 │ return _characteristic.writeValueWithoutResponse(data);
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/bluetooth_characteristic.dart
WARNING: Returning a 'Future' without 'await' inside a try block.
lib/src/bluetooth_characteristic.dart:252:7
╷
252 │ return _characteristic.writeValue(data);
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/bluetooth_characteristic.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
logging |
^1.0.0 |
1.3.0 | 1.3.0 | |
meta |
^1.3.0 |
1.19.0 | 1.19.0 | |
web |
>=0.5.0 <2.0.0 |
1.1.1 | 1.1.1 |
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
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.18, Dart 3.13.1.
Check the analysis log for details.