sparrow_image_cropper 0.0.2 copy "sparrow_image_cropper: ^0.0.2" to clipboard
sparrow_image_cropper: ^0.0.2 copied to clipboard

A Flutter plugin for Android and iOS supports cropping images

2
likes
125/ 140
pub points
57%
popularity

We analyzed this package 8 days ago, and awarded it 125 pub points (of a possible 140):

failed
Follow Dart file conventions
25 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

0/5 points: Provide a valid README.md

Links in `README.md` should be secure. 1 link is insecure.

README.md:13:665

   ╷
13 │ <p><a href="https://GitHub.com/TimOliver/TOCropViewController/watchers/"><img src="https://img.shields.io/github/watchers/TimOliver/TOCropViewController.svg?style=social&label=Watch&maxAge=2592000" alt="GitHub watchers" /></a>  <a href="https://GitHub.com/TimOliver/TOCropViewController/stargazers/"><img src="https://img.shields.io/github/stars/TimOliver/TOCropViewController.svg?style=social&label=Star&maxAge=2592000" alt="GitHub stars" /></a>  <a href="https://GitHub.com/TimOliver/TOCropViewController/network/"><img src="https://img.shields.io/github/forks/TimOliver/TOCropViewController.svg?style=social&label=Fork&maxAge=2592000" alt="GitHub forks" /></a> <a href="http://cocoadocs.org/docsets/TOCropViewController"><img src="https://img.shields.io/cocoapods/v/TOCropViewController.svg?style=flat" alt="Version" /></a> <a href="https://raw.githubusercontent.com/TimOliver/TOCropViewController/master/LICENSE"><img src="https://img.shields.io/badge/license-MIT-blue.svg" alt="GitHub license" /></a></p>

[...]

Use https URLs instead.

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

OK
Provide documentation
20 / 20trigger folding of the section

10/10 points: 20% or more of the public API has dartdoc comments

44 out of 56 API elements (78.6 %) have documentation comments.

Some symbols that are missing documentation: sparrow_image_cropper.AndroidUiSettings.toMap, sparrow_image_cropper.CropAspectRatio, sparrow_image_cropper.CropAspectRatio.CropAspectRatio, sparrow_image_cropper.CropAspectRatio.ratioX, sparrow_image_cropper.CropAspectRatio.ratioY.

10/10 points: Package has an example

OK
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:sparrow_image_cropper/sparrow_image_cropper.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

  • package:sparrow_image_cropper/sparrow_image_cropper.dart that declares support for platforms: Android, iOS.
Package does not support platform `macOS`.

Because:

  • package:sparrow_image_cropper/sparrow_image_cropper.dart that declares support for platforms: Android, iOS.
Package does not support platform `Web`.

Because:

  • package:sparrow_image_cropper/sparrow_image_cropper.dart that declares support for platforms: Android, iOS.
partial
Pass static analysis
40 / 50trigger folding of the section

40/50 points: code has no errors, warnings, lints, or formatting issues

Found 3 issues. Showing the first 2:

INFO: Dangling library doc comment.

lib/sparrow_image_cropper.dart:1:1

  ╷
1 │ ///
  │ ^^^
  ╵

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

INFO: Statements in an if should be enclosed in a block.

lib/src/utils.dart:18:5

   ╷
18 │     return i;
   │     ^^^^^^^^^
   ╵

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

OK
Support up-to-date dependencies
20 / 20trigger folding of the section

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

Package Constraint Compatible Latest
flutter flutter 0.0.0 0.0.0
Transitive dependencies
Package Constraint Compatible Latest
characters - 1.3.0 1.3.0
collection - 1.18.0 1.18.0
material_color_utilities - 0.8.0 0.11.1
meta - 1.12.0 1.15.0
sky_engine - 0.0.99 0.0.99
vector_math - 2.1.4 2.1.4

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

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

Analyzed with Pana 0.22.3, Flutter 3.22.0, Dart 3.4.0.

Check the analysis log for details.

2
likes
125
pub points
57%
popularity

Publisher

unverified uploader

A Flutter plugin for Android and iOS supports cropping images

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

flutter

More

Packages that depend on sparrow_image_cropper