file_image_cropper 0.3.1
file_image_cropper: ^0.3.1 copied to clipboard
Fast JPEG, PNG, and WebP cropping with a customizable Flutter UI and multithreaded Rust engine.
We analyzed this package 4 days ago, and awarded it 110 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
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.
0/10 points: 20% or more of the public API has dartdoc comments
48 out of 301 API elements (15.9 %) 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: file_image_cropper, file_image_cropper.CenteredCropRegion, file_image_cropper.CenteredCropRegion.CenteredCropRegion.new, file_image_cropper.CenteredCropRegion.aspectRatio, file_image_cropper.CropEditor.CropEditor.new.
10/10 points: Package has an example
10/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.dartthat declares support for platforms:Android,iOS,Windows,Linux,macOS.
Swift Package Manager support:
Package does not support the Swift Package Manager on macOS
The package does not contain darwin/file_image_cropper/Package.swift.
Package does not support the Swift Package Manager on iOS
The package does not contain darwin/file_image_cropper/Package.swift.
Note: This iOS or macOS plugin does not support the Swift Package Manager, resulting in a partial score. 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.
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
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
code_assets |
^1.0.0 |
1.0.0 | 2.0.0 | |
crypto |
^3.0.7 |
3.0.7 | 3.0.7 | |
ffi |
^2.1.4 |
2.2.0 | 2.2.0 | |
hooks |
^1.0.0 |
1.0.3 | 2.2.0 | |
logging |
^1.3.0 |
1.3.0 | 1.3.0 | |
native_toolchain_rust |
^1.0.4 |
1.0.4 | 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 |
- | 0.6.0 | 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.0.0` 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.
The constraint `^1.0.0` on hooks does not support the stable version `2.0.0`.
Try running dart pub upgrade --major-versions hooks 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.23.18, Flutter 3.47.0, Dart 3.13.0.
Check the analysis log for details.