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.

15
likes
80/ 160
pub points
33
downloads

We analyzed this package 41 hours ago, and awarded it 80 pub points (of a possible 160):

partial
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/bsteps/flutter_photon_rs/issues was unreachable. Make sure that the website is reachable via HEAD requests.

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: MIT.

failed
Provide documentation
0 / 20trigger folding of the section

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.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

failed
Platform support
20 / 20trigger folding of the section

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.

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.dev/web/wasm for details.

failed
Pass static analysis
0 / 50trigger folding of the section

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 'FlutterRustBridgeWireBase.drop_dart_object', 'FlutterRustBridgeWireBase.free_WireSyncReturn', 'FlutterRustBridgeWireBase.get_dart_object', and '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
Support up-to-date dependencies
30 / 40trigger folding of the section

0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
ffigen ^5.0.1 5.0.1 16.0.0
flutter flutter 0.0.0 0.0.0
flutter_rust_bridge ^1.32.0 1.82.6 2.7.0
freezed_annotation ^2.0.3 2.4.4 2.4.4
Transitive dependencies
Package Constraint Compatible Latest
archive - 3.6.1 4.0.2
args - 2.6.0 2.6.0
async - 2.12.0 2.12.0
boolean_selector - 2.1.2 2.1.2
build_cli_annotations - 2.1.0 2.1.0
characters - 1.3.0 1.4.0
cli_util - 0.3.5 0.4.2
collection - 1.19.0 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
ffi - 1.2.1 2.1.3
file - 6.1.4 7.0.1
fixnum - 1.1.1 1.1.1
glob - 2.1.2 2.1.2
http - 1.2.2 1.2.2
http_parser - 4.1.2 4.1.2
js - 0.6.7 0.7.1
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.12.0
meta - 1.15.0 1.16.0
mime - 2.0.0 2.0.0
path - 1.9.1 1.9.1
petitparser - 6.0.2 6.0.2
pool - 1.5.1 1.5.1
puppeteer - 3.16.0 3.16.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 2.0.1
sky_engine - 0.0.0 0.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.4 0.7.4
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.1.4 2.1.4
web - 0.5.1 1.1.0
web_socket_channel - 2.4.5 3.0.1
yaml - 3.1.3 3.1.3

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

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.

10/10 points: Package supports latest stable Dart and Flutter SDKs

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.17, Flutter 3.27.1, Dart 3.6.0.

Check the analysis log for details.

15
likes
80
points
33
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