crop_box 1.0.2 copy "crop_box: ^1.0.2" to clipboard
crop_box: ^1.0.2 copied to clipboard

A component that can be tailored for a variety of materials.Widget for Clip.

9
likes
120/ 140
pub points
61%
popularity

We analyzed this package 28 hours ago, and awarded it 120 pub points (of a possible 140):

OK
Follow Dart file conventions
30 / 30trigger folding of the section

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.

OK
Provide documentation
20 / 20trigger folding of the section

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

31 out of 61 API elements (50.8 %) have documentation comments.

Some symbols that are missing documentation: crop_box, crop_box.CropBox, crop_box.CropBoxBorder, crop_box.CropBoxBorder.CropBoxBorder, crop_box.CropBoxBorder.noNullRaidus.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android
  • ✓ iOS
  • ✓ macOS

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:crop_box/crop_box.dart that imports:
  • package:crop_box/src/image_crop.dart that imports:
  • package:image_editor/image_editor.dart that declares support for platforms: Android, iOS, macOS.
Package does not support platform `Linux`.

Because:

  • package:crop_box/crop_box.dart that imports:
  • package:crop_box/src/image_crop.dart that imports:
  • package:image_editor/image_editor.dart that declares support for platforms: Android, iOS, macOS.
Package does not support platform `Web`.

Because:

  • package:crop_box/crop_box.dart that imports:
  • package:crop_box/src/image_crop.dart that imports:
  • package:image_editor/image_editor.dart that declares support for platforms: Android, iOS, macOS.
partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 7 issues. Showing the first 2:

INFO: The import of 'dart:ui' is unnecessary because all of the used elements are also provided by the import of 'package:flutter/cupertino.dart'.

lib/src/main.dart:4:8

  ╷
4 │ import 'dart:ui';
  │        ^^^^^^^^^
  ╵

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

INFO: The import of 'package:flutter/material.dart' is unnecessary because all of the used elements are also provided by the import of 'package:flutter/cupertino.dart'.

lib/src/main.dart:7:8

  ╷
7 │ import 'package:flutter/material.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

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

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

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

Package Constraint Compatible Latest
exif ^2.1.0 2.2.0 3.3.0
flutter flutter 0.0.0 0.0.0
image_editor ^1.0.0 1.5.0 1.5.0
image_size_getter ^1.0.0 1.1.0 2.1.3
Transitive dependencies
Package Constraint Compatible Latest
args - 2.5.0 2.5.0
characters - 1.3.0 1.3.0
collection - 1.18.0 1.18.0
convert - 3.1.1 3.1.1
hashcodes - 2.0.0 2.0.0
image_editor_common - 1.1.1 1.1.1
image_editor_ohos - 0.0.7 0.0.7
image_editor_platform_interface - 1.1.0 1.1.0
material_color_utilities - 0.8.0 0.11.1
meta - 1.11.0 1.14.0
platform - 3.1.4 3.1.4
plugin_platform_interface - 2.1.8 2.1.8
sky_engine - 0.0.99 0.0.99
sprintf - 6.0.2 7.0.0
typed_data - 1.3.2 1.3.2
vector_math - 2.1.4 2.1.4

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

The constraint `^2.1.0` on exif does not support the stable version `3.0.0`.

Try running dart pub upgrade --major-versions exif to update the constraint.

The constraint `^1.0.0` on image_size_getter does not support the stable version `2.0.0`.

Try running dart pub upgrade --major-versions image_size_getter to update the constraint.

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

Analyzed with Pana 0.22.3, Flutter 3.19.5, Dart 3.3.3.

Check the analysis log for details.

9
likes
120
pub points
61%
popularity

Publisher

unverified uploader

A component that can be tailored for a variety of materials.Widget for Clip.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

exif, flutter, image_editor, image_size_getter

More

Packages that depend on crop_box