executorch_flutter 0.0.2 copy "executorch_flutter: ^0.0.2" to clipboard
executorch_flutter: ^0.0.2 copied to clipboard

A Flutter plugin package using ExecuTorch to allow model inference on Android, iOS, and macOS platforms.

140/ 160
pub points
--
downloads

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

78 out of 113 API elements (69.0 %) have documentation comments.

Some symbols that are missing documentation: executorch_flutter.ExecuTorchErrorMapper.ExecuTorchErrorMapper.new, executorch_flutter.ExecuTorchException.ExecuTorchException.new, executorch_flutter.ExecuTorchException.details, executorch_flutter.ExecuTorchException.message, executorch_flutter.ExecuTorchIOException.ExecuTorchIOException.new.

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 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ macOS

These platforms are not supported:

Package does not support platform `Windows`.

Because:

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

Because:

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

Because:

  • package:executorch_flutter/executorch_flutter.dart that declares support for platforms: Android, iOS, macOS.

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:executorch_flutter/executorch_flutter.dart that imports:
  • package:executorch_flutter/src/executorch_inference.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.cn/web/wasm for details.

Passed check 0/0 points: Swift Package Manager support

This iOS or macOS plugin supports the Swift Package Manager. It will be rewarded additional points in a future version of the scoring model.

See https://docs.flutter.dev/to/spm 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

WARNING: The operand can't be 'null', so the condition is always 'true'.

lib/src/processors/base_processor.dart:249:61

    ╷
249 │       final validOutputs = outputs.where((output) => output != null).toList();
    │                                                             ^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/processors/base_processor.dart

Passed report section
Support up-to-date dependencies
40 / 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
image ^4.0.17 4.5.4 4.5.4
meta ^1.9.1 1.16.0 1.17.0
Transitive dependencies
Package Constraint Compatible Latest Notes
archive - 4.0.7 4.0.7
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
crypto - 3.0.6 3.0.6
ffi - 2.1.4 2.1.4
material_color_utilities - 0.11.1 0.13.0
path - 1.9.1 1.9.1
petitparser - 7.0.1 7.0.1
posix - 6.0.3 6.0.3
typed_data - 1.4.0 1.4.0
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.

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.23, Flutter 3.35.5, Dart 3.9.2.

Check the analysis log for details.

0
likes
140
points
--
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter plugin package using ExecuTorch to allow model inference on Android, iOS, and macOS platforms.

Repository (GitHub)
View/report issues
Contributing

Topics

#machine-learning #inference #executorch #pytorch #mobile-ai

Documentation

API reference

License

MIT (license)

Dependencies

flutter, image, meta

More

Packages that depend on executorch_flutter

Packages that implement executorch_flutter