sl_flutter_blue 1.0.0
sl_flutter_blue: ^1.0.0 copied to clipboard
Flutter plugin for connecting and communicating with Bluetooth Low Energy devices, on Android and iOS
We analyzed this package 3 days ago, and awarded it 140 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
Homepage URL doesn't exist.
At the time of the analysis https://github.com/scrum-lan/sl_flutter_blue was unreachable. Make sure that the website is reachable via HEAD requests.
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: BSD-3-Clause.
10/10 points: 20% or more of the public API has dartdoc comments
995 out of 1717 API elements (57.9 %) have documentation comments.
Some symbols that are missing documentation: sl_flutter_blue, sl_flutter_blue.AdvertisementData, sl_flutter_blue.AdvertisementData.AdvertisementData.fromProto, sl_flutter_blue.AdvertisementData.AdvertisementData.new, sl_flutter_blue.AdvertisementData.connectable.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ macOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:sl_flutter_blue/sl_flutter_blue.dartthat declares support for platforms:Android,iOS,macOS.
Package does not support platform `Linux`.
Because:
package:sl_flutter_blue/sl_flutter_blue.dartthat declares support for platforms:Android,iOS,macOS.
Package does not support platform `Web`.
Because:
package:sl_flutter_blue/sl_flutter_blue.dartthat declares support for platforms:Android,iOS,macOS.
0/0 points: Swift Package Manager support
Package does not support the Swift Package Manager on macOS
It does not contain macos/sl_flutter_blue/Package.swift.
This package for iOS or macOS does not support the Swift Package Manager. It will not receive full points in a future version of the scoring model.
See https://docs.flutter.dev/to/spm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 8 issues. Showing the first 2:
INFO: The part-of directive uses a library name.
lib/src/bluetooth_characteristic.dart:5:1
╷
5 │ part of sl_flutter_blue;
│ ^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/bluetooth_characteristic.dart
INFO: Use 'isNotEmpty' instead of 'length' to test whether the collection is empty.
lib/src/bluetooth_characteristic.dart:36:33
╷
36 │ secondaryServiceUuid = (p.secondaryServiceUuid.length > 0)
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter 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 |
|---|---|---|---|---|
collection |
^1.14.13 |
1.19.1 | 1.19.1 | |
convert |
^3.1.2 |
3.1.2 | 3.1.2 | |
meta |
^1.2.3 |
1.17.0 | 1.18.0 | |
protobuf |
^6.0.0 |
6.0.0 | 6.0.0 | |
rxdart |
^0.28.0 |
0.28.0 | 0.28.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
characters |
- | 1.4.0 | 1.4.1 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.2.0 | 2.2.0 |
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.8, Flutter 3.38.6, Dart 3.10.7.
Check the analysis log for details.