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 25 days ago, and awarded it 130 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
20/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
0/0 points: 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
This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
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
INFO: Missing type annotation.
lib/selectcropcompressimage.dart:108:3
╷
108 │ _compressImage({
│ ^^^^^^^^^^^^^^
╵
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.4.0 | 2.4.0 | |
image_cropper |
^8.0.1 |
8.1.0 | 11.0.0 | |
image_picker |
^1.1.2 |
1.2.1 | 1.2.1 |
Transitive dependencies
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.3, Flutter 3.38.4, Dart 3.10.3.
Check the analysis log for details.