ar_widget 0.0.5 ar_widget: ^0.0.5 copied to clipboard
Widget in the AR World
We analyzed this package 5 days ago, and awarded it 130 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too short.
Add more detail to the description
field of pubspec.yaml
. Use 60 to 180 characters to describe the package, what it does, and its target use case.
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
2 out of 9 API elements (22.2 %) have documentation comments.
Some symbols that are missing documentation: ar_widget
, ar_widget.ARWidget.canvasHeight
, ar_widget.ARWidget.canvasWidth
, ar_widget.ARWidget.child
, ar_widget.ArWidgetPlugin
.
10/10 points: Package has an example
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:ar_widget/ar_widget.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Linux`.
Because:
package:ar_widget/ar_widget.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `macOS`.
Because:
package:ar_widget/ar_widget.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Web`.
Because:
package:ar_widget/ar_widget.dart
that declares support for platforms:Android
,iOS
.
These issues are present but do not affect the score, because they may not originate in your package:
Package does not support platform `Android`.
Because:
package:ar_widget/ar_widget.dart
that imports:package:ar_widget/src/ar_widget.dart
that imports:package:ar_widget/src/arkit_widget.dart
that imports:package:arkit_plugin/arkit_plugin.dart
that declares support for platforms:iOS
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:ar_widget/ar_widget.dart
that imports:package:ar_widget/src/ar_widget.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.
0/0 points: Swift Package Manager support
Package does not support the Swift Package Manager on iOS
It does not contain ios/ar_widget/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.
50/50 points: code has no errors, warnings, lints, or formatting issues
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
arkit_plugin |
any |
1.1.0 | 1.1.0 |
flutter |
flutter |
0.0.0 | 0.0.0 |
json_annotation |
any |
4.9.0 | 4.9.0 |
permission_handler |
any |
11.3.1 | 11.3.1 |
plugin_platform_interface |
any |
2.1.8 | 2.1.8 |
vector_math |
any |
2.1.4 | 2.1.4 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
characters |
- | 1.3.0 | 1.3.1 |
collection |
- | 1.18.0 | 1.19.1 |
flutter_web_plugins |
- | 0.0.0 | 0.0.0 |
material_color_utilities |
- | 0.11.1 | 0.12.0 |
meta |
- | 1.15.0 | 1.16.0 |
permission_handler_android |
- | 12.0.13 | 12.0.13 |
permission_handler_apple |
- | 9.4.5 | 9.4.5 |
permission_handler_html |
- | 0.1.3+2 | 0.1.3+2 |
permission_handler_platform_interface |
- | 4.2.3 | 4.2.3 |
permission_handler_windows |
- | 0.2.1 | 0.2.1 |
sky_engine |
- | 0.0.99 | 0.0.99 |
web |
- | 1.1.0 | 1.1.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
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 3 errors:
UNCHECKED_USE_OF_NULLABLE_VALUE
-lib/src/arkit_widget.dart:85:19
- The function can't be unconditionally invoked because it can be 'null'.STATIC_ACCESS_TO_INSTANCE_MEMBER
-lib/src/arkit_widget.dart:85:41
- Instance member 'color' can't be accessed using static access.UNDEFINED_METHOD
-lib/src/arkit_widget.dart:120:41
- The method 'cameraPosition' isn't defined for the type 'ARKitController'.
Run flutter pub downgrade
and then flutter analyze
to reproduce the above problem.
You may run dart pub upgrade --tighten
to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.22.15
, Flutter 3.24.4
, Dart 3.5.4
.
Check the analysis log for details.