thermion_dart 0.2.1-dev.19.0 copy "thermion_dart: ^0.2.1-dev.19.0" to clipboard
thermion_dart: ^0.2.1-dev.19.0 copied to clipboard

3D rendering toolkit for Dart.

9
likes
70/ 160
pub points
228
downloads

We analyzed this package 8 hours ago, and awarded it 70 pub points (of a possible 160):

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

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: Apache-2.0.

OK
Provide documentation
20 / 20trigger folding of the section

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

261 out of 525 API elements (49.7 %) have documentation comments.

Some symbols that are missing documentation: filament_dart, filament_dart.AlphaMode, filament_dart.Axis, filament_dart.Axis.create, filament_dart.Axis.setTransform.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:thermion_dart/thermion_dart.dart that imports:
  • package:thermion_dart/src/utils/utils.dart that imports:
  • package:thermion_dart/src/utils/src/axis.dart that imports:
  • package:thermion_dart/src/viewer/viewer.dart that imports:
  • package:thermion_dart/src/viewer/src/shared_types/shared_types.dart that imports:
  • package:thermion_dart/src/viewer/src/shared_types/material.dart that imports:
  • package:thermion_dart/src/viewer/src/ffi/src/callbacks.dart that imports:
  • package:thermion_dart/src/viewer/src/ffi/src/thermion_dart.g.dart that imports:
  • dart:ffi

0/0 points: WASM compatibility

Unable to detect compatibility with runtime wasm, and this package will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

failed
Pass static analysis
0 / 50trigger folding of the section

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

Found 67 issues. Showing the first 2:

ERROR: Missing concrete implementations of 'ThermionViewer.createUnlitFixedSizeMaterialInstance' and 'ThermionViewer.getRenderableBoundingBox'.

lib/src/viewer/src/thermion_viewer_stub.dart:14:7

   ╷
14 │ class ThermionViewerStub extends ThermionViewer {
   │       ^^^^^^^^^^^^^^^^^^
   ╵

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

ERROR: 'ThermionViewerStub.pick' ('void Function(int, int)') isn't a valid override of 'ThermionViewer.pick' ('Future

lib/src/viewer/src/thermion_viewer_stub.dart:296:8

    ╷
296 │   void pick(int x, int y) {
    │        ^^^^
    ╵

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

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

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

Package Constraint Compatible Latest
animation_tools_dart ^0.1.0 0.1.2 0.1.2
archive ^3.6.1 3.6.1 4.0.2
ffi ^2.1.2 2.1.3 2.1.3
http ^1.2.2 1.2.2 1.2.2
logging ^1.2.0 1.3.0 1.3.0
native_assets_cli ^0.6.1 0.6.1 0.10.0
native_toolchain_c ^0.4.2 0.4.2 0.7.0
path ^1.9.0 1.9.1 1.9.1
plugin_platform_interface ^2.0.0 2.1.8 2.1.8
vector_math ^2.1.2 2.1.4 2.1.4
web ^1.0.0 1.1.0 1.1.0
Transitive dependencies
Package Constraint Compatible Latest
args - 2.6.0 2.6.0
async - 2.12.0 2.12.0
cli_config - 0.2.0 0.2.0
collection - 1.19.1 1.19.1
crypto - 3.0.6 3.0.6
file - 7.0.1 7.0.1
glob - 2.1.2 2.1.2
http_parser - 4.1.2 4.1.2
meta - 1.16.0 1.16.0
pub_semver - 2.1.5 2.1.5
source_span - 1.10.1 1.10.1
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
yaml - 3.1.3 3.1.3

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

Found 3 issues. Showing the first 2:

The constraint `^3.6.1` on archive does not support the stable version `4.0.0`, that was published 26 days ago.

When archive is 30 days old, this package will no longer be awarded points in this category.

Try running dart pub upgrade --major-versions archive to update the constraint.

The constraint `^0.6.1` on native_assets_cli does not support the stable version `0.7.0`.

Try running dart pub upgrade --major-versions native_assets_cli to update the constraint.

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 2 errors:

  • NON_ABSTRACT_CLASS_INHERITS_ABSTRACT_MEMBER - lib/src/viewer/src/thermion_viewer_stub.dart:14:7 - Missing concrete implementations of 'ThermionViewer.createUnlitFixedSizeMaterialInstance' and 'ThermionViewer.getRenderableBoundingBox'.
  • INVALID_OVERRIDE - lib/src/viewer/src/thermion_viewer_stub.dart:296:8 - 'ThermionViewerStub.pick' ('void Function(int, int)') isn't a valid override of 'ThermionViewer.pick' ('Future

Run dart pub downgrade and then dart 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.17, Dart 3.6.0.

Check the analysis log for details.