flutter_scene_importer 0.9.0-0 copy "flutter_scene_importer: ^0.9.0-0" to clipboard
flutter_scene_importer: ^0.9.0-0 copied to clipboard

An offline 3D model importer for Flutter. Converts glTF files into the Flutter Scene model format.

7
likes
120/ 160
pub points
297
downloads

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

Failed report section
Provide documentation
10 / 20trigger folding of the section

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

225 out of 847 API elements (26.6 %) have documentation comments.

Some symbols that are missing documentation: build_hooks, build_hooks.buildModels, constants, constants.kSkinnedPerVertexSize, constants.kUnskinnedPerVertexSize.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

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

Passed check 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 does not support platform `Web`.

Because:

  • package:flutter_scene_importer/build_hooks.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.

These issues are present but do not affect the score, because they may not originate in your package:

Package not compatible with platform Android

Because:

  • package:flutter_scene_importer/flatbuffer.dart that imports:
  • package:flutter_gpu/gpu.dart that imports:
  • dart:nativewrappers
Package not compatible with platform iOS

Because:

  • package:flutter_scene_importer/flatbuffer.dart that imports:
  • package:flutter_gpu/gpu.dart that imports:
  • dart:nativewrappers
Package not compatible with platform Windows

Because:

  • package:flutter_scene_importer/flatbuffer.dart that imports:
  • package:flutter_gpu/gpu.dart that imports:
  • dart:nativewrappers
Package not compatible with platform Linux

Because:

  • package:flutter_scene_importer/flatbuffer.dart that imports:
  • package:flutter_gpu/gpu.dart that imports:
  • dart:nativewrappers
Package not compatible with platform macOS

Because:

  • package:flutter_scene_importer/flatbuffer.dart that imports:
  • package:flutter_gpu/gpu.dart that imports:
  • dart:nativewrappers

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:flutter_scene_importer/build_hooks.dart that imports:
  • package:native_assets_cli/native_assets_cli.dart that imports:
  • package:native_assets_cli/src/encoded_asset.dart that imports:
  • package:native_assets_cli/src/hooks/syntax.g.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 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 25 issues. Showing the first 2:

WARNING: The '!' will have no effect because the receiver can't be null.

lib/generated/scene_impeller.fb_flatbuffers.dart:494:42

    ╷
494 │         : fbBuilder.writeListUint8(_bytes!);
    │                                          ^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/generated/scene_impeller.fb_flatbuffers.dart

WARNING: The '!' will have no effect because the receiver can't be null.

lib/generated/scene_impeller.fb_flatbuffers.dart:625:37

    ╷
625 │         : fbBuilder.writeString(_uri!);
    │                                     ^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/generated/scene_impeller.fb_flatbuffers.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
args ^2.5.0 2.7.0 2.7.0
logging ^1.2.0 1.3.0 1.3.0
native_assets_cli >=0.13.0 <0.14.0 0.13.0 0.18.0 Discontinued
vector_math ^2.1.4 2.1.4 2.2.0
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
crypto - 3.0.6 3.0.6
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.0
path - 1.9.1 1.9.1
pub_semver - 2.2.0 2.2.0
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.

The constraint `>=0.13.0 <0.14.0` on native_assets_cli does not support the stable version `0.14.0`.

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

The package has one or more discontinued direct dependencies.

Discontinued packages are no longer maintained, and can end up being a liability.

Consider migrating away from these dependencies:

  • native_assets_cli.

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.22.21, Flutter 3.32.4, Dart 3.8.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
7
likes
120
points
297
downloads

Publisher

verified publisherbdero.dev

Weekly Downloads

An offline 3D model importer for Flutter. Converts glTF files into the Flutter Scene model format.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

args, flutter, flutter_gpu, logging, native_assets_cli, vector_math

More

Packages that depend on flutter_scene_importer