file_image_cropper 0.3.2 copy "file_image_cropper: ^0.3.2" to clipboard
file_image_cropper: ^0.3.2 copied to clipboard

Fast JPEG, PNG, and WebP cropping with a customizable Flutter UI and multithreaded Rust engine.

140/ 160
pub points
212
downloads

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

140 out of 301 API elements (46.5 %) have documentation comments.

Some symbols that are missing documentation: file_image_cropper.CropEditor.CropEditor.new, file_image_cropper.CropEditor.allowMove, file_image_cropper.CropEditor.allowNewSelection, file_image_cropper.CropEditor.allowResize, file_image_cropper.CropEditor.backgroundColor.

Passed check 10/10 points: Package has an example

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

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package does not support platform `Web`.

Because:

  • package:file_image_cropper/file_image_cropper.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.

Swift PM-ready: This iOS or macOS plugin supports the Swift Package Manager. See https://docs.flutter.dev/to/spm for details.

Built-in Kotlin-ready: This Android plugin supports built-in Kotlin. See https://docs.flutter.dev/release/breaking-changes/migrate-to-built-in-kotlin/for-plugin-authors 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: Returning a 'Future' without 'await' inside a try block.

lib/src/prebuilt/prebuilt_asset.dart:119:5

    ╷
119 │     return temporary.rename(destination.path);
    │     ^^^^^^
    ╵

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

Partially passed report section
Support up-to-date dependencies
40 / 40trigger folding of the section

Partially passed check 10/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
code_assets ^1.2.1 1.2.1 2.0.0
crypto ^3.0.7 3.0.7 3.0.7
ffi ^2.1.4 2.2.0 2.2.0
hooks ^2.0.2 2.2.0 2.2.0
logging ^1.3.0 1.3.0 1.3.0
native_toolchain_rust ^1.0.4+0 1.0.6 1.0.6
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.1 1.4.1
collection - 1.19.1 1.19.1
material_color_utilities - 0.13.0 0.13.1
meta - 1.19.0 1.19.0
path - 1.9.1 1.9.1
petitparser - 7.0.2 7.0.2
pub_semver - 2.2.0 2.2.0
record_use - 1.1.1 1.1.1
source_span - 1.10.2 1.10.2
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
toml - 0.18.0 0.18.0
typed_data - 1.4.0 1.4.0
vector_math - 2.4.2 2.4.2
web - 1.1.1 1.1.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 `^1.2.1` on code_assets does not support the stable version `2.0.0`, that was published 1 days ago.

When code_assets is 30 days old, this package will no longer be awarded points in this category.

Try running dart pub upgrade --major-versions code_assets 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.23.18, Flutter 3.47.0, Dart 3.13.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
140
points
212
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Fast JPEG, PNG, and WebP cropping with a customizable Flutter UI and multithreaded Rust engine.

Homepage
Repository (GitHub)
View/report issues

Topics

#image #crop #resize #ffi #rust

License

MIT (license)

Dependencies

code_assets, crypto, ffi, flutter, hooks, logging, native_toolchain_rust

More

Packages that depend on file_image_cropper

Packages that implement file_image_cropper