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

Widget in the AR World

1
likes
120/ 160
pub points
43
downloads

We analyzed this package 3 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

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 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.

Failed check 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.

Failed check 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.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

INFO: 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss.

lib/src/arcore_widget.dart:141:43

    ╷
141 │                       color: Colors.white.withOpacity(0.5),
    │                                           ^^^^^^^^^^^
    ╵

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

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.1.2 1.1.2
json_annotation any 4.9.0 4.9.0
permission_handler any 12.0.0+1 12.0.0+1
plugin_platform_interface any 2.1.8 2.1.8
vector_math any 2.1.4 2.1.5
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.0
collection - 1.19.1 1.19.1
material_color_utilities - 0.11.1 0.12.0
meta - 1.16.0 1.17.0
permission_handler_android - 13.0.1 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
web - 1.1.1 1.1.1

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: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.21, Flutter 3.29.3, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions: