three_dart 0.0.15 copy "three_dart: ^0.0.15" to clipboard
three_dart: ^0.0.15 copied to clipboard

outdated

three.js implement by Dart. Dart 3D library. an easy to use, lightweight, cross-platform, general purpose 3D library.

191
likes
70/ 160
pub points
88%
popularity

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

OK
Follow Dart file conventions
30 / 30trigger folding of the section

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: MIT.

partial
Provide documentation
10 / 20trigger folding of the section

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

60 out of 4613 API elements (1.3 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

Some symbols that are missing documentation: Blob, Blob.Blob.data, Blob.Blob.options, Blob.createObjectURL, Camera.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

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 1909 issues. Showing the first 2:

ERROR: The name 'Material' isn't defined, so it can't be used in an 'is' expression.

lib/three3d/animation/property_binding.dart:525:25

    ╷
525 │     if (targetObject is Material) {
    │                         ^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/three3d/animation/property_binding.dart

ERROR: Target of URI doesn't exist: 'package:three_dart/three3d/cameras/camera.dart'.

lib/three3d/cameras/array_camera.dart:2:8

  ╷
2 │ import 'package:three_dart/three3d/cameras/camera.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/three3d/cameras/array_camera.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
crypto ^3.0.1 3.0.6 3.0.6
ffi ^2.0.1 2.1.3 2.1.3
flutter flutter 0.0.0 0.0.0
flutter_gl ^0.0.20 0.0.21 0.0.21
http ^0.13.4 0.13.6 1.2.2
image ^3.1.1 3.3.0 4.3.0
universal_html ^2.0.8 2.2.4 2.2.4
Transitive dependencies
Package Constraint Compatible Latest
archive - 3.6.1 3.6.1
async - 2.12.0 2.12.0
characters - 1.3.0 1.3.1
charcode - 1.3.1 1.3.1
collection - 1.18.0 1.19.1
csslib - 1.0.2 1.0.2
flutter_gl_macos - 0.0.5 0.0.5
flutter_gl_platform_interface - 0.0.4 0.0.4
flutter_gl_web - 0.0.5 0.0.5
flutter_gl_windows - 0.0.4 0.0.4
flutter_web_plugins - 0.0.0 0.0.0
html - 0.15.5 0.15.5
http_parser - 4.0.2 4.1.1
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
path - 1.9.1 1.9.1
petitparser - 6.0.2 6.0.2
plugin_platform_interface - 2.1.8 2.1.8
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
string_scanner - 1.4.0 1.4.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.4.0 1.4.0
universal_io - 2.2.2 2.2.2
vector_math - 2.1.4 2.1.4
xml - 6.5.0 6.5.0

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

The constraint `^0.13.4` on http does not support the stable version `1.0.0`.

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

The constraint `^3.1.1` on image does not support the stable version `4.0.0`.

Try running dart pub upgrade --major-versions image 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 1303 errors:

  • TYPE_TEST_WITH_UNDEFINED_NAME - lib/three3d/animation/property_binding.dart:525:25 - The name 'Material' isn't defined, so it can't be used in an 'is' expression.
  • URI_DOES_NOT_EXIST - lib/three3d/cameras/array_camera.dart:2:8 - Target of URI doesn't exist: 'package:three_dart/three3d/cameras/camera.dart'.
  • NON_TYPE_AS_TYPE_ARGUMENT - lib/three3d/cameras/array_camera.dart:6:13 - The name 'Camera' isn't a type, so it can't be used as a type argument.

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.

191
likes
70
pub points
88%
popularity

Publisher

unverified uploader

three.js implement by Dart. Dart 3D library. an easy to use, lightweight, cross-platform, general purpose 3D library.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

crypto, ffi, flutter, flutter_gl, http, image, universal_html

More

Packages that depend on three_dart