flutter_onnxruntime 1.4.3 copy "flutter_onnxruntime: ^1.4.3" to clipboard
flutter_onnxruntime: ^1.4.3 copied to clipboard

A lightweight plugin that provides native wrappers for running ONNX Runtime on multiple platforms

10
likes
140/ 160
pub points
469
downloads

We analyzed this package 45 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: 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

39 out of 91 API elements (42.9 %) have documentation comments.

Some symbols that are missing documentation: flutter_onnxruntime, flutter_onnxruntime.OnnxRuntime, flutter_onnxruntime.OnnxRuntime.OnnxRuntime.new, flutter_onnxruntime.OnnxRuntime.getPlatformVersion, flutter_onnxruntime.OrtModelMetadata.

Passed check 10/10 points: Package has an example

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

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

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

Package does not support platform `Web`.

Because:

  • package:flutter_onnxruntime/flutter_onnxruntime.dart that imports:
  • package:flutter_onnxruntime/src/onnxruntime.dart that imports:
  • package:path_provider/path_provider.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:flutter_onnxruntime/flutter_onnxruntime.dart that imports:
  • package:flutter_onnxruntime/src/onnxruntime.dart that imports:
  • package:path_provider/path_provider.dart that imports:
  • package:path_provider_platform_interface/path_provider_platform_interface.dart that imports:
  • package:path_provider_platform_interface/src/method_channel_path_provider.dart that imports:
  • package:platform/platform.dart that imports:
  • package:platform/src/interface/local_platform.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 check 0/0 points: Swift Package Manager support

Package does not support the Swift Package Manager on macOS

It does not contain macos/flutter_onnxruntime/Package.swift.

This package for iOS or macOS does not support the Swift Package Manager. It will not receive full points in a future version of the scoring model.

See https://docs.flutter.dev/to/spm 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 7 issues. Showing the first 2:

/tmp/pana_IIFLWT/lib/src/flutter_onnxruntime_method_channel.dart doesn't match the Dart formatter.

To format your files run: dart format .

/tmp/pana_IIFLWT/lib/src/flutter_onnxruntime_platform_interface.dart doesn't match the Dart formatter.

To format your files run: dart format .

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
js ^0.6.7 0.6.7 0.7.2 Discontinued
js_interop ^0.0.1 0.0.1 0.0.1
path_provider ^2.1.5 2.1.5 2.1.5
plugin_platform_interface ^2.0.2 2.1.8 2.1.8
web ^1.1.1 1.1.1 1.1.1
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
ffi - 2.1.4 2.1.4
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.0
path - 1.9.1 1.9.1
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
vector_math - 2.1.4 2.2.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 `^0.6.7` on js does not support the stable version `0.7.0`.

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

  • js.

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:
10
likes
140
points
469
downloads

Publisher

verified publishermasic.ai

Weekly Downloads

A lightweight plugin that provides native wrappers for running ONNX Runtime on multiple platforms

Repository (GitHub)
Contributing

Topics

#onnx #onnxruntime #machine-learning #deep-learning #model-inference

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_web_plugins, js, js_interop, path_provider, plugin_platform_interface, web

More

Packages that depend on flutter_onnxruntime