flutter_ftms 1.1.3
flutter_ftms: ^1.1.3 copied to clipboard
A Flutter package that allows you to connect to FTMS (Fitness Machine Service) devices via Bluetooth Low Energy (BLE).
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: BSD-3-Clause
.
0/10 points: 20% or more of the public API has dartdoc comments
35 out of 231 API elements (15.2 %) 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: flutter_ftms
, flutter_ftms.BluetoothConnectionState
, flutter_ftms.BluetoothDevice
, flutter_ftms.BluetoothDevice.BluetoothDevice.fromProto
, flutter_ftms.BluetoothDevice.BluetoothDevice.new
.
10/10 points: Package has an example
20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Web
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:flutter_ftms/flutter_ftms.dart
that imports:package:flutter_ftms/src/ftms_bluetooth.dart
that imports:package:flutter_blue_plus/flutter_blue_plus.dart
that declares support for platforms:Android
,iOS
,Linux
,macOS
,Web
.
Package does not support platform `Linux`.
Because:
package:flutter_ftms/flutter_ftms.dart
that imports:package:flutter_ftms/src/bluetooth.dart
that imports:package:permission_handler/permission_handler.dart
that declares support for platforms:Android
,iOS
,Windows
,Web
.
Package does not support platform `macOS`.
Because:
package:flutter_ftms/flutter_ftms.dart
that imports:package:flutter_ftms/src/bluetooth.dart
that imports:package:permission_handler/permission_handler.dart
that declares support for platforms:Android
,iOS
,Windows
,Web
.
These issues are present but do not affect the score, because they may not originate in your package:
Package not compatible with platform Web
Because:
package:flutter_ftms/flutter_ftms.dart
that imports:package:flutter_ftms/src/ftms_bluetooth.dart
that imports:package:flutter_blue_plus/flutter_blue_plus.dart
that imports:dart:io
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:flutter_ftms/flutter_ftms.dart
that imports:package:flutter_ftms/src/ftms_bluetooth.dart
that imports:package:flutter_blue_plus/flutter_blue_plus.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
/tmp/pana_NGPNGR/lib/src/ftms/characteristic/machine/control_point/machine_control_point.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 |
---|---|---|---|---|
flutter_blue_plus |
^1.34.5 |
1.35.5 | 1.35.5 | |
permission_handler |
^11.3.0 |
11.4.0 | 12.0.0+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_blue_plus_android |
- | 4.0.5 | 4.0.5 | |
flutter_blue_plus_darwin |
- | 4.0.1 | 4.0.1 | |
flutter_blue_plus_linux |
- | 3.0.2 | 3.0.2 | |
flutter_blue_plus_platform_interface |
- | 4.0.2 | 4.0.2 | |
flutter_blue_plus_web |
- | 3.0.1 | 3.0.1 | |
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 | |
rxdart |
- | 0.28.0 | 0.28.0 | |
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.3.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.
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.