selectcropcompressimage 1.0.2
selectcropcompressimage: ^1.0.2 copied to clipboard
A new Flutter package to select, crop and compress image.
We analyzed this package 6 days ago, and awarded it 120 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
0 out of 5 API elements (0.0 %) 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: selectcropcompressimage, selectcropcompressimage.SelectCropCompressImage, selectcropcompressimage.SelectCropCompressImage.SelectCropCompressImage.new, selectcropcompressimage.SelectCropCompressImage.selectCropCompressImageFromCamera, selectcropcompressimage.SelectCropCompressImage.selectCropCompressImageFromGallery.
10/10 points: Package has an example
10/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Web
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:selectcropcompressimage/selectcropcompressimage.dartthat imports:package:image_cropper/image_cropper.dartthat declares support for platforms:Android,iOS,Web.
Package does not support platform `Linux`.
Because:
package:selectcropcompressimage/selectcropcompressimage.dartthat imports:package:image_cropper/image_cropper.dartthat declares support for platforms:Android,iOS,Web.
Package does not support platform `macOS`.
Because:
package:selectcropcompressimage/selectcropcompressimage.dartthat imports:package:image_cropper/image_cropper.dartthat declares support for platforms:Android,iOS,Web.
These issues are present but do not affect the score, because they may not originate in your package:
Package not compatible with platform Web
Because:
package:selectcropcompressimage/selectcropcompressimage.dartthat imports:package:image_cropper/image_cropper.dartthat imports:package:image_cropper/src/cropper.dartthat imports:package:image_cropper_platform_interface/image_cropper_platform_interface.dartthat imports:package:image_cropper_platform_interface/src/platform_interface/image_cropper_platform.dartthat imports:package:image_cropper_platform_interface/src/method_channel/method_channel_image_cropper.dartthat imports:dart:io
WASM compatibility:
Package not compatible with runtime wasm
Because:
package:selectcropcompressimage/selectcropcompressimage.dartthat imports:package:image_cropper/image_cropper.dartthat imports:package:image_cropper/src/cropper.dartthat imports:package:image_cropper_platform_interface/image_cropper_platform_interface.dartthat imports:package:image_cropper_platform_interface/src/platform_interface/image_cropper_platform.dartthat imports:package:image_cropper_platform_interface/src/method_channel/method_channel_image_cropper.dartthat imports:dart:io
Note: This package supports Web but is not WASM-compatible, resulting in a partial score. See https://dart.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 3 issues. Showing the first 2:
INFO: 'package:flutter/material.dart' is deprecated and shouldn't be used. Use package:material_ui/material_ui.dart instead. This feature was deprecated after v3.47.0-0.0.pre.
lib/selectcropcompressimage.dart:2:1
╷
2 │ import 'package:flutter/material.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/selectcropcompressimage.dart
INFO: Missing type annotation.
lib/selectcropcompressimage.dart:82:3
╷
82 │ _cropImage({
│ ^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/selectcropcompressimage.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
flutter_image_compress |
^2.3.0 |
2.5.1 | 2.5.1 | |
image_cropper |
^8.0.1 |
8.1.0 | 14.0.0 | |
image_picker |
^1.1.2 |
1.2.4 | 1.2.4 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.1 | 2.13.1 | |
characters |
- | 1.4.1 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
cross_file |
- | 0.3.5+5 | 0.4.0 | |
file_selector_linux |
- | 0.9.4+1 | 0.9.4+1 | |
file_selector_macos |
- | 0.9.5+2 | 0.9.5+2 | |
file_selector_platform_interface |
- | 2.7.0 | 2.7.0 | |
file_selector_windows |
- | 0.9.3+6 | 0.9.3+6 | |
flutter_image_compress_common |
- | 1.1.1 | 1.1.1 | |
flutter_image_compress_macos |
- | 1.1.0 | 1.1.0 | |
flutter_image_compress_ohos |
- | 0.0.3+1 | 0.0.3+1 | |
flutter_image_compress_platform_interface |
- | 1.1.0 | 1.1.0 | |
flutter_image_compress_web |
- | 0.1.5+1 | 0.1.5+1 | |
flutter_plugin_android_lifecycle |
- | 2.0.35 | 2.0.35 | |
http |
- | 1.6.0 | 1.6.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
image_cropper_for_web |
- | 6.1.0 | 8.0.1 | |
image_cropper_platform_interface |
- | 7.2.0 | 9.0.0 | |
image_picker_android |
- | 0.8.13+25 | 0.8.13+25 | |
image_picker_for_web |
- | 3.1.1 | 3.1.1 | |
image_picker_ios |
- | 0.8.13+16 | 0.8.13+16 | |
image_picker_linux |
- | 0.2.2 | 0.2.2 | |
image_picker_macos |
- | 0.2.2+1 | 0.2.2+1 | |
image_picker_platform_interface |
- | 2.11.2 | 2.11.2 | |
image_picker_windows |
- | 0.2.2 | 0.2.2 | |
listen |
- | 1.0.1 | 1.0.1 | |
material_color_utilities |
- | 0.13.0 | 0.13.1 | |
meta |
- | 1.19.0 | 1.19.0 | |
mime |
- | 2.1.0 | 2.1.0 | |
path |
- | 1.9.1 | 1.9.1 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
source_span |
- | 1.10.2 | 1.10.2 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.4.4 | 2.4.4 | |
web |
- | 1.1.2 | 1.1.2 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^8.0.1` on image_cropper does not support the stable version `9.0.0`.
Try running dart pub upgrade --major-versions image_cropper 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.19, Flutter 3.50.0, Dart 3.14.0.
Check the analysis log for details.