o3d 2.0.0 copy "o3d: ^2.0.0" to clipboard
o3d: ^2.0.0 copied to clipboard

The Flutter 3D objects easy controller ( glb format ) on mobile and web platforms

186
likes
140/ 160
pub points
614
downloads

We analyzed this package 39 hours ago, and awarded it 140 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: BSD-3-Clause.

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

70 out of 95 API elements (73.7 %) have documentation comments.

Some symbols that are missing documentation: o3d, o3d.ArPlacement, o3d.ArScale, o3d.CameraOrbit, o3d.CameraOrbit.CameraOrbit.new.

Passed check 10/10 points: Package has an example and has no issues with screenshots

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

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

  • ✓ Android

  • ✓ iOS

  • ✓ Web

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:o3d/o3d.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `Linux`.

Because:

  • package:o3d/o3d.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `macOS`.

Because:

  • package:o3d/o3d.dart that declares support for platforms: Android, iOS, Web.

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

Package does not support platform `Android`.

Because:

  • package:o3d/o3d.dart that imports:
  • package:o3d/src/app/o3d.dart that imports:
  • package:o3d/src/app/model_viewer/o3d_model_viewer.dart that imports:
  • package:o3d/src/app/model_viewer/model_viewer_plus_mobile.dart that imports:
  • package:webview_flutter_wkwebview/webview_flutter_wkwebview.dart that declares support for platforms: iOS, macOS.
Package does not support platform `iOS`.

Because:

  • package:o3d/o3d.dart that imports:
  • package:o3d/src/app/o3d.dart that imports:
  • package:o3d/src/app/model_viewer/o3d_model_viewer.dart that imports:
  • package:o3d/src/app/model_viewer/model_viewer_plus_mobile.dart that imports:
  • package:webview_flutter_android/webview_flutter_android.dart that declares support for platforms: Android.
Package does not support platform `Web`.

Because:

  • package:o3d/o3d.dart that imports:
  • package:o3d/src/app/o3d.dart that imports:
  • package:o3d/src/app/model_viewer/o3d_model_viewer.dart that imports:
  • package:webview_flutter/webview_flutter.dart that declares support for platforms: Android, iOS, macOS.

Passed check 0/0 points: WASM compatibility

This package is compatible with runtime wasm, and will be rewarded additional points in a future version of the scoring model.

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

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

Found 18 issues. Showing the first 2:

INFO: 'red' is deprecated and shouldn't be used. Use .r.

lib/src/app/model_viewer/html_builder.dart:360:51

    ╷
360 │         'background-color: rgba(${backgroundColor.red}, ${backgroundColor.green}, ${backgroundColor.blue}, ${backgroundColor.alpha}); ',
    │                                                   ^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/app/model_viewer/html_builder.dart

INFO: 'green' is deprecated and shouldn't be used. Use .g.

lib/src/app/model_viewer/html_builder.dart:360:75

    ╷
360 │         'background-color: rgba(${backgroundColor.red}, ${backgroundColor.green}, ${backgroundColor.blue}, ${backgroundColor.alpha}); ',
    │                                                                           ^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/app/model_viewer/html_builder.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
android_intent_plus ^4.0.3 4.0.3 5.3.0
path ^1.8.3 1.9.1 1.9.1
path_provider ^2.1.1 2.1.5 2.1.5
url_launcher ^6.2.1 6.3.1 6.3.1
webview_flutter ^4.4.2 4.9.0 4.11.0
webview_flutter_android ^3.12.1 3.16.9 4.4.1
webview_flutter_wkwebview ^3.9.4 3.20.0 3.20.0
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.0
collection - 1.19.1 1.19.1
ffi - 2.1.4 2.1.4
material_color_utilities - 0.11.1 0.12.0
meta - 1.16.0 1.16.0
path_provider_android - 2.2.17 2.2.17
path_provider_foundation - 2.4.1 2.4.1
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.3.0 2.3.0
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
url_launcher_android - 6.3.16 6.3.16
url_launcher_ios - 6.3.3 6.3.3
url_launcher_linux - 3.2.1 3.2.1
url_launcher_macos - 3.2.2 3.2.2
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.4.0 2.4.0
url_launcher_windows - 3.1.4 3.1.4
vector_math - 2.1.4 2.1.5
web - 1.1.1 1.1.1
webview_flutter_platform_interface - 2.11.0 2.11.0
xdg_directories - 1.1.0 1.1.0

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

The constraint `^4.0.3` on android_intent_plus does not support the stable version `5.0.0`.

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

The constraint `^3.12.1` on webview_flutter_android does not support the stable version `4.0.0`.

Try running dart pub upgrade --major-versions webview_flutter_android 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.22.20, Flutter 3.29.2, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
186
likes
140
points
614
downloads
screenshot

Publisher

verified publisherbabakcode.com

Weekly Downloads

The Flutter 3D objects easy controller ( glb format ) on mobile and web platforms

Repository (GitHub)

Topics

#model #models3d #models-3d #glb

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

android_intent_plus, flutter, path, path_provider, url_launcher, webview_flutter, webview_flutter_android, webview_flutter_wkwebview

More

Packages that depend on o3d