flutter_accessorysetup 0.0.3
flutter_accessorysetup: ^0.0.3 copied to clipboard
Use it to discover and configure Bluetooth or Wi-Fi accessories with images and names provided by the app. Works on iOS 18 and above, and uses AccessorySetupKit through FFI.
We analyzed this package 3 hours ago, and awarded it 80 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.
10/10 points: 20% or more of the public API has dartdoc comments
731 out of 850 API elements (86.0 %) have documentation comments.
Some symbols that are missing documentation: accessory_setup_bindings, accessory_setup_bindings.ASAccessory.ref, accessory_setup_bindings.ASAccessoryEvent.ref, accessory_setup_bindings.ASAccessoryEventType, accessory_setup_bindings.ASAccessoryEventType.fromValue.
10/10 points: Package has an example
0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 6 issues. Showing the first 2:
ERROR: 6 positional arguments expected by 'ObjCProtocolListenableMethod.new', but 5 found.
lib/gen/ios/accessory_setup_bindings.dart:2147:124
╷
2147 │ ObjCBlock_ffiVoid_ffiVoid_ASAccessoryEvent.listener((ffi.Pointer<ffi.Void> _, ASAccessoryEvent arg1) => func(arg1)),
│ ^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/gen/ios/accessory_setup_bindings.dart
ERROR: 6 positional arguments expected by 'ObjCProtocolListenableMethod.new', but 5 found.
lib/gen/ios/accessory_setup_bindings.dart:2163:112
╷
2163 │ ObjCBlock_ffiVoid_ffiVoid_NSError.listener((ffi.Pointer<ffi.Void> _, objc.NSError? arg1) => func(arg1)),
│ ^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/gen/ios/accessory_setup_bindings.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
ffi |
^2.1.3 |
2.2.0 | 2.2.0 | |
objective_c |
^4.0.0 |
4.1.0 | 9.3.0 | |
plugin_platform_interface |
^2.0.2 |
2.1.8 | 2.1.8 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
characters |
- | 1.4.1 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
material_color_utilities |
- | 0.13.0 | 0.13.0 | |
meta |
- | 1.17.0 | 1.18.1 | |
vector_math |
- | 2.2.0 | 2.2.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^4.0.0` on objective_c does not support the stable version `5.0.0`.
Try running dart pub upgrade --major-versions objective_c 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.10, Flutter 3.41.2, Dart 3.11.0.
Check the analysis log for details.