flutter_photon_rs 0.0.1 copy "flutter_photon_rs: ^0.0.1" to clipboard
flutter_photon_rs: ^0.0.1 copied to clipboard

Dart ffi to photon library, an image processing library written in rust.

80/ 160
pub points
36
downloads

We analyzed this package 20 hours ago, and awarded it 80 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
0 / 20trigger folding of the section

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

4 out of 246 API elements (1.6 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

Some symbols that are missing documentation: flutter_photon_rs, flutter_photon_rs.BlendMode, flutter_photon_rs.Channel, flutter_photon_rs.Channel.Channel.decBlueChannel, flutter_photon_rs.Channel.Channel.decGreenChannel.

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

  • ✓ Android

  • ✓ iOS

These platforms are not supported:

Package does not support platform `Windows`.

Because:

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

Because:

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

Because:

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

Because:

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

Failed check 0/0 points: WASM compatibility

Unable to detect compatibility with runtime wasm, and this package will not be rewarded full points in a future version of the scoring model.

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

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 105 issues. Showing the first 2:

ERROR: The named parameter 'parseErrorData' is required, but there's no corresponding argument.

lib/src/bridge_generated.dart:84:21

   ╷
84 │       executeNormal(FlutterRustBridgeTask(
   │                     ^^^^^^^^^^^^^^^^^^^^^
   ╵

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

ERROR: Missing concrete implementations of 'abstract class FlutterRustBridgeWireBase.drop_dart_object', 'abstract class FlutterRustBridgeWireBase.free_WireSyncReturn', 'abstract class FlutterRustBridgeWireBase.get_dart_object', and 'abstract class FlutterRustBridgeWireBase.new_dart_opaque'.

lib/src/bridge_generated.dart:204:7

    ╷
204 │ class FlutterPhotonRsWire implements FlutterRustBridgeWireBase {
    │       ^^^^^^^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/bridge_generated.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
ffigen ^5.0.1 5.0.1 19.1.0
flutter_rust_bridge ^1.32.0 1.82.6 2.11.1
freezed_annotation ^2.0.3 2.4.4 3.1.0
Transitive dependencies
Package Constraint Compatible Latest Notes
archive - 3.6.1 4.0.7
args - 2.7.0 2.7.0
async - 2.13.0 2.13.0
boolean_selector - 2.1.2 2.1.2
build_cli_annotations - 2.1.1 2.1.1
characters - 1.4.0 1.4.1
cli_util - 0.3.5 0.4.2
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
ffi - 1.2.1 2.1.4
file - 6.1.4 7.0.1
fixnum - 1.1.1 1.1.1
glob - 2.1.3 2.1.3
http - 1.5.0 1.5.0
http_parser - 4.1.2 4.1.2
js - 0.6.7 0.7.2 Discontinued
json_annotation - 4.9.0 4.9.0
logging - 1.3.0 1.3.0
matcher - 0.12.17 0.12.17
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.0
mime - 2.0.0 2.0.0
path - 1.9.1 1.9.1
petitparser - 6.1.0 7.0.1
pool - 1.5.2 1.5.2
puppeteer - 3.16.0 3.20.0
quiver - 3.2.2 3.2.2
shelf - 1.4.2 1.4.2
shelf_static - 1.1.3 1.1.3
shelf_web_socket - 1.0.4 3.0.0
source_span - 1.10.1 1.10.1
sprintf - 7.0.0 7.0.0
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.4 2.1.4
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
test_api - 0.7.7 0.7.7
tuple - 2.0.2 2.0.2
typed_data - 1.4.0 1.4.0
uuid - 4.5.1 4.5.1
vector_math - 2.2.0 2.2.0
web - 0.5.1 1.1.1
web_socket_channel - 2.4.5 3.0.3
yaml - 3.1.3 3.1.3

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

Found 3 issues. Showing the first 2:

The constraint `^5.0.1` on ffigen does not support the stable version `6.0.0`.

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

The constraint `^1.32.0` on flutter_rust_bridge does not support the stable version `2.0.0`.

Try running dart pub upgrade --major-versions flutter_rust_bridge 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.23, Flutter 3.35.5, Dart 3.9.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
15
likes
80
points
36
downloads

Publisher

unverified uploader

Weekly Downloads

Dart ffi to photon library, an image processing library written in rust.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

ffigen, flutter, flutter_rust_bridge, freezed_annotation

More

Packages that depend on flutter_photon_rs

Packages that implement flutter_photon_rs