flame_3d 0.3.0 copy "flame_3d: ^0.3.0" to clipboard
flame_3d: ^0.3.0 copied to clipboard

Experimental 3D support for the Flame Engine

60/ 160
pub points
1.78k
downloads

We analyzed this package 5 days ago, and awarded it 60 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.

Funding URL doesn't exist.

At the time of the analysis https://patreon.com/bluefireoss was unreachable. Make sure that the website is reachable via HEAD requests.

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.

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

1435 out of 3231 API elements (44.4 %) have documentation comments.

Some symbols that are missing documentation: camera, camera.BoundedPositionBehavior.BoundedPositionBehavior.new, camera.BoundedPositionBehavior.findRenderContext, camera.BoundedPositionBehavior.isValidPoint, camera.BoundedPositionBehavior.precision.

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)

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

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

Found 6 issues. Showing the first 2:

ERROR: The argument type 'Future

lib/src/graphics/backend/flutter_gpu/gpu_backend.dart:64:37

   ╷
64 │     return _FlutterGpuShaderLibrary(library, assetName);
   │                                     ^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/graphics/backend/flutter_gpu/gpu_backend.dart

ERROR: Too many positional arguments: 1 expected, but 2 found.

lib/src/graphics/backend/flutter_gpu/gpu_backend.dart:299:53

    ╷
299 │     _renderPass.bindVertexBuffer(_bufferView(view), vertexCount);
    │                                                     ^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/graphics/backend/flutter_gpu/gpu_backend.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
collection ^1.19.1 1.19.1 1.19.1
flame ^1.38.0 1.38.0 1.38.0
meta ^1.12.0 1.19.0 1.19.0
ordered_set ^8.0.0 8.0.1 8.0.1
vector_math ^2.1.4 2.4.2 2.4.2
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.1 1.4.1
material_color_utilities - 0.13.0 0.13.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 4 errors:

  • ARGUMENT_TYPE_NOT_ASSIGNABLE - lib/src/graphics/backend/flutter_gpu/gpu_backend.dart:64:37 - The argument type 'Future<ShaderLibrary?>' can't be assigned to the parameter type 'ShaderLibrary'.
  • EXTRA_POSITIONAL_ARGUMENTS_COULD_BE_NAMED - lib/src/graphics/backend/flutter_gpu/gpu_backend.dart:299:53 - Too many positional arguments: 1 expected, but 2 found.
  • EXTRA_POSITIONAL_ARGUMENTS - lib/src/graphics/backend/flutter_gpu/gpu_backend.dart:314:7 - Too many positional arguments: 2 expected, but 3 found.

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:
62
likes
60
points
1.78k
downloads

Documentation

API reference

Publisher

verified publisherflame-engine.org

Weekly Downloads

Experimental 3D support for the Flame Engine

Repository (GitHub)
View/report issues
Contributing

Funding

Consider supporting this project:

opencollective.com
github.com
patreon.com

License

MIT (license)

Dependencies

collection, flame, flutter, flutter_gpu, meta, ordered_set, vector_math

More

Packages that depend on flame_3d