ar_widget 0.2.0 copy "ar_widget: ^0.2.0" to clipboard
ar_widget: ^0.2.0 copied to clipboard

Widget in the AR World

120/ 160
pub points
54
downloads

We analyzed this package 5 days ago, and awarded it 120 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
20 / 30trigger folding of the section

Failed check 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 50 to 180 characters to describe the package, what it does, and its target use case.

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

2 out of 10 API elements (20.0 %) have documentation comments.

Some symbols that are missing documentation: ar_widget, ar_widget.ARWidget.ARWidget.new, ar_widget.ARWidget.canvasHeight, ar_widget.ARWidget.canvasWidth, ar_widget.ARWidget.child.

Passed check 10/10 points: Package has an example

Partially passed report section
Platform support
10 / 20trigger folding of the section

Partially passed check 10/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.

Swift Package Manager support:

Package does not support the Swift Package Manager on iOS

The package does not contain ios/ar_widget/Package.swift.

Note: This iOS or macOS plugin does not support the Swift Package Manager, resulting in a partial score. See https://docs.flutter.dev/to/spm for details.

Built-in Kotlin support:

Legacy Kotlin configuration detected in `android/build.gradle`.

This plugin applies the Kotlin Gradle Plugin (KGP) or uses the android.kotlinOptions{} block.

Note: This Android plugin does not support built-in Kotlin. In the future, this might affect scoring. See https://docs.flutter.dev/release/breaking-changes/migrate-to-built-in-kotlin/for-plugin-authors for details.

Passed report section
Pass static analysis
50 / 50trigger folding of the section

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

Failed report section
Support up-to-date dependencies
20 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
arkit_plugin any 1.5.0 1.5.0
json_annotation any 4.12.0 4.12.0
permission_handler any 13.0.1 13.0.1
plugin_platform_interface any 2.1.8 2.1.8
vector_math any 2.4.2 2.4.2
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.1
meta - 1.19.0 1.19.0
path - 1.9.1 1.9.1
permission_handler_android - 14.0.0 14.0.0
permission_handler_apple - 9.6.1 9.6.1
permission_handler_html - 0.1.4+1 0.1.4+1
permission_handler_platform_interface - 4.4.0 4.4.0
permission_handler_windows - 0.2.2 0.2.2
source_span - 1.10.2 1.10.2
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
web - 1.1.1 1.1.1
yaml - 3.1.3 3.1.3

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

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Failed check 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:117: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.23.18, Flutter 3.47.0, Dart 3.13.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions: