flutter_ttc_ble 0.1.2 copy "flutter_ttc_ble: ^0.1.2" to clipboard
flutter_ttc_ble: ^0.1.2 copied to clipboard

A BLE(Bluetooth Low Energy) Flutter plugin for Android and iOS.

10
likes
105/ 140
pub points
54%
popularity

We analyzed this package 8 days ago, and awarded it 105 pub points (of a possible 140):

failed
Follow Dart file conventions
25 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

0/5 points: Provide a valid CHANGELOG.md

`CHANGELOG.md` contains too many non-ASCII characters.

The site uses English as its primary language. The content of CHANGELOG.md in your package should primarily contain characters used in English.

10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

OK
Provide documentation
20 / 20trigger folding of the section

10/10 points: 20% or more of the public API has dartdoc comments

76 out of 202 API elements (37.6 %) have documentation comments.

Some symbols that are missing documentation: cc26xx_r2_oad_proxy, cc26xx_r2_oad_proxy.CC26xxR2OADProxy.onDataReceived, cc26xx_r2_oad_proxy.CC26xxR2OADProxy.onDisconnected, cc26xx_r2_oad_proxy.CC26xxR2OADProxy.onMtuChanged, cc26xx_r2_oad_proxy.CC26xxR2OADProxy.onNotificationStateChanged.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 2 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android
  • ✓ iOS

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:flutter_ttc_ble/flutter_ttc_ble.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

  • package:flutter_ttc_ble/flutter_ttc_ble.dart that declares support for platforms: Android, iOS.
Package does not support platform `macOS`.

Because:

  • package:flutter_ttc_ble/flutter_ttc_ble.dart that declares support for platforms: Android, iOS.
Package does not support platform `Web`.

Because:

  • package:flutter_ttc_ble/flutter_ttc_ble.dart that declares support for platforms: Android, iOS.
failed
Pass static analysis
30 / 50trigger folding of the section

30/50 points: code has no errors, warnings, lints, or formatting issues

Found 14 issues. Showing the first 2:

WARNING: The value of the local variable 'startPos' isn't used.

lib/oad/cc26xx_r2_oad_proxy.dart:369:13

    ╷
369 │         int startPos = 2 + i * OADProxy.oadBlockSize;
    │             ^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/oad/cc26xx_r2_oad_proxy.dart

WARNING: Doc directive 'link' is unknown.

lib/oad/oad_listener.dart:36:25

   ╷
36 │     ///               {@link OADStatus#FLASH_ERR}, {@link OADStatus#BUFFER_OFL}
   │                         ^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/oad/oad_listener.dart

failed
Support up-to-date dependencies
10 / 20trigger folding of the section

0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
device_info ^2.0.3 2.0.3 2.0.3
flutter flutter 0.0.0 0.0.0
permission_handler ^10.0.0 10.4.5 11.3.1
plugin_platform_interface ^2.0.2 2.1.8 2.1.8
provider ^6.0.3 6.1.2 6.1.2
synchronized ^3.0.0+3 3.1.0+1 3.1.0+1
Transitive dependencies
Package Constraint Compatible Latest
characters - 1.3.0 1.3.0
collection - 1.18.0 1.18.0
device_info_platform_interface - 2.0.1 2.0.1
material_color_utilities - 0.8.0 0.11.1
meta - 1.11.0 1.14.0
nested - 1.0.0 1.0.0
permission_handler_android - 10.3.6 12.0.5
permission_handler_apple - 9.1.4 9.4.4
permission_handler_platform_interface - 3.12.0 4.2.1
permission_handler_windows - 0.1.3 0.2.1
sky_engine - 0.0.99 0.0.99
vector_math - 2.1.4 2.1.4

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^10.0.0` on permission_handler does not support the stable version `11.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

Analyzed with Pana 0.22.3, Flutter 3.19.5, Dart 3.3.3.

Check the analysis log for details.

10
likes
105
pub points
54%
popularity

Publisher

unverified uploader

A BLE(Bluetooth Low Energy) Flutter plugin for Android and iOS.

Homepage

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

device_info, flutter, permission_handler, plugin_platform_interface, provider, synchronized

More

Packages that depend on flutter_ttc_ble