three_dart_flutterflow 0.0.17 copy "three_dart_flutterflow: ^0.0.17" to clipboard
three_dart_flutterflow: ^0.0.17 copied to clipboard

three.js implementation in Dart. Fixed platformViewRegistry deprecation for Flutter 3.32.4+. Easy to use, lightweight, cross-platform 3D library.

100/ 160
pub points
70
downloads

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

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

Passed check 10/10 points: Provide a valid pubspec.yaml

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

Partially passed report section
Provide documentation
10 / 20trigger folding of the section

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

59 out of 4622 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: alphamap_fragment.glsl, alphamap_fragment.glsl.alphamapFragment, alphamap_pars_fragment.glsl, alphamap_pars_fragment.glsl.alphamapParsFragment, alphatest_fragment.glsl.

Passed check 10/10 points: Package has an example

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

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

These platforms are not supported:

Package not compatible with platform Android

Because:

  • package:three_dart_flutterflow/three3d/loaders/image_loader_for_web.dart that imports:
  • dart:html
Package not compatible with platform iOS

Because:

  • package:three_dart_flutterflow/three3d/loaders/image_loader_for_web.dart that imports:
  • dart:html
Package not compatible with platform Windows

Because:

  • package:three_dart_flutterflow/three3d/loaders/image_loader_for_web.dart that imports:
  • dart:html
Package does not support platform `Linux`.

Because:

  • package:three_dart_flutterflow/three3d/animation/animation_action.dart that imports:
  • package:three_dart_flutterflow/three3d/math/index.dart that imports:
  • package:three_dart_flutterflow/three3d/math/interpolants/quaternion_linear_interpolant.dart that imports:
  • package:three_dart_flutterflow/three3d/math/quaternion.dart that imports:
  • package:three_dart_flutterflow/three3d/math/vector3.dart that imports:
  • package:three_dart_flutterflow/three3d/math/matrix4.dart that imports:
  • package:three_dart_flutterflow/three3d/math/matrix3.dart that imports:
  • package:flutter_gl_flutterflow/flutter_gl.dart that declares support for platforms: Android, iOS, Windows, macOS, Web.
Package not compatible with platform macOS

Because:

  • package:three_dart_flutterflow/three3d/loaders/image_loader_for_web.dart that imports:
  • dart:html
Package not compatible with platform Web

Because:

  • package:three_dart_flutterflow/three3d/animation/animation_action.dart that imports:
  • package:three_dart_flutterflow/three3d/math/index.dart that imports:
  • package:three_dart_flutterflow/three3d/math/interpolants/quaternion_linear_interpolant.dart that imports:
  • package:three_dart_flutterflow/three3d/math/quaternion.dart that imports:
  • package:three_dart_flutterflow/three3d/core/index.dart that imports:
  • package:three_dart_flutterflow/three3d/core/raycaster.dart that imports:
  • package:three_dart_flutterflow/three3d/core/object_3d.dart that imports:
  • package:three_dart_flutterflow/three3d/textures/texture.dart that imports:
  • package:three_dart_flutterflow/three3d/textures/source.dart that imports:
  • package:three_dart_flutterflow/three3d/extras/index.dart that imports:
  • package:three_dart_flutterflow/three3d/extras/pmrem_generator.dart that imports:
  • package:three_dart_flutterflow/three3d/renderers/index.dart that imports:
  • package:three_dart_flutterflow/three3d/renderers/web_gl_renderer.dart that imports:
  • package:three_dart_flutterflow/three3d/renderers/webgl/index.dart that imports:
  • package:three_dart_flutterflow/three3d/renderers/webgl/web_gl_program.dart that imports:
  • dart:io

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:three_dart_flutterflow/three3d/animation/animation_action.dart that imports:
  • package:three_dart_flutterflow/three3d/math/index.dart that imports:
  • package:three_dart_flutterflow/three3d/math/interpolants/quaternion_linear_interpolant.dart that imports:
  • package:three_dart_flutterflow/three3d/math/quaternion.dart that imports:
  • package:three_dart_flutterflow/three3d/math/vector3.dart that imports:
  • package:three_dart_flutterflow/three3d/math/matrix4.dart that imports:
  • package:three_dart_flutterflow/three3d/math/matrix3.dart that imports:
  • package:flutter_gl_flutterflow/flutter_gl.dart that imports:
  • package:flutter_gl_flutterflow/native-array/index.dart that imports:
  • package:flutter_gl_flutterflow/native-array/NativeArray.app.dart that imports:
  • package:ffi/ffi.dart that imports:
  • package:ffi/src/utf8.dart that imports:
  • dart:ffi

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.cn/web/wasm for details.

Failed report section
Pass static analysis
30 / 50trigger folding of the section

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

Found 2160 issues. Showing the first 2:

WARNING: The receiver can't be null, so the null-aware operator '?.' is unnecessary.

lib/three3d/core/object_3d.dart:884:17

    ╷
884 │     normalMatrix?.dispose();
    │                 ^^
    ╵

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

WARNING: A double can't equal 'double.nan', so the condition is always 'false'.

lib/three3d/dart_helpers.dart:22:93

   ╷
22 │ bool falsey(value) => value == null || value == false || value == '' || value == 0 || value == double.nan;
   │                                                                                             ^^^^^^^^^^^^^
   ╵

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

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

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

Package Constraint Compatible Latest Notes
crypto ^3.0.1 3.0.7 3.0.7
ffi ^2.0.1 2.1.4 2.1.4
flutter_gl_flutterflow ^0.0.23 0.0.23 0.0.23
http ^0.13.4 0.13.6 1.6.0
image ^3.1.1 3.3.0 4.5.4
meta ^1.16.0 1.17.0 1.17.0
universal_html ^2.0.8 2.3.0 2.3.0
Transitive dependencies
Package Constraint Compatible Latest Notes
archive - 3.6.1 4.0.7
async - 2.13.0 2.13.0
characters - 1.4.0 1.4.1
charcode - 1.4.0 1.4.0
collection - 1.19.1 1.19.1
csslib - 1.0.2 1.0.2
flutter_gl_macos_flutterflow - 0.0.6 0.0.6
flutter_gl_platform_interface_flutterflow - 0.0.5 0.0.5
flutter_gl_web_flutterflow - 0.0.6 0.0.6
flutter_gl_windows_flutterflow - 0.0.5 0.0.5
html - 0.15.6 0.15.6
http_parser - 4.1.2 4.1.2
material_color_utilities - 0.11.1 0.13.0
path - 1.9.1 1.9.1
petitparser - 7.0.1 7.0.1
plugin_platform_interface - 2.1.8 2.1.8
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
universal_io - 2.3.1 2.3.1
vector_math - 2.2.0 2.2.0
xml - 6.6.1 6.6.1

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.

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.1, Flutter 3.38.0, Dart 3.10.0-290.4.beta.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
100
points
70
downloads

Publisher

unverified uploader

Weekly Downloads

three.js implementation in Dart. Fixed platformViewRegistry deprecation for Flutter 3.32.4+. Easy to use, lightweight, cross-platform 3D library.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

crypto, ffi, flutter, flutter_gl_flutterflow, http, image, meta, universal_html

More

Packages that depend on three_dart_flutterflow