pick_snap 0.0.4 copy "pick_snap: ^0.0.4" to clipboard
pick_snap: ^0.0.4 copied to clipboard

Pick Snap

11
likes
120/ 160
pub points
0%
popularity

We analyzed this package 4 days ago, and awarded it 120 pub points (of a possible 160):

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

0/10 points: Provide a valid pubspec.yaml

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

Homepage URL doesn't exist.

At the time of the analysis https://gitlab.com/rajivmegamind/gallery_crop_snap_kit_mc was unreachable. Make sure that the website is reachable via HEAD requests.

Failed to verify repository URL.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: pick_snap,
    • contains a version property, and,
    • does not contain a publish_to property.

Unable to access git repository: Failed to run remote show origin.

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

0/10 points: Use an OSI-approved license

No license was recognized.

Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.

OK
Provide documentation
20 / 20trigger folding of the section

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

3 out of 6 API elements (50.0 %) have documentation comments.

Some symbols that are missing documentation: pick_snap, pick_snap.PickSnap, pick_snap.PickSnap.PickSnap.

10/10 points: Package has an example

failed
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:pick_snap/pick_snap.dart that imports:
  • package:pick_snap/src/image_gallery_picker.dart that imports:
  • package:pick_snap/src/crop_image.dart that imports:
  • package:image_cropper/image_cropper.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `Linux`.

Because:

  • package:pick_snap/pick_snap.dart that imports:
  • package:pick_snap/src/image_gallery_picker.dart that imports:
  • package:pick_snap/src/permission_manager/permission_managers_service.dart that imports:
  • package:permission_handler/permission_handler.dart that declares support for platforms: Android, iOS, Windows, Web.
Package does not support platform `macOS`.

Because:

  • package:pick_snap/pick_snap.dart that imports:
  • package:pick_snap/src/image_gallery_picker.dart that imports:
  • package:pick_snap/src/permission_manager/permission_managers_service.dart that imports:
  • package:permission_handler/permission_handler.dart that declares support for platforms: Android, iOS, Windows, Web.
Package not compatible with platform Web

Because:

  • package:pick_snap/pick_snap.dart that imports:
  • package:pick_snap/src/image_gallery_picker.dart that imports:
  • package:pick_snap/src/permission_manager/permission_managers_service.dart that imports:
  • package:device_info_plus/device_info_plus.dart that imports:
  • dart:io

These issues are present but do not affect the score, because they may not originate in your package:

Package does not support platform `Android`.

Because:

  • package:pick_snap/pick_snap.dart that imports:
  • package:pick_snap/src/image_gallery_picker.dart that imports:
  • package:pick_snap/src/permission_manager/permission_managers_service.dart that imports:
  • package:device_info_plus/device_info_plus.dart that imports:
  • package:device_info_plus/src/device_info_plus_windows.dart that imports:
  • package:win32_registry/win32_registry.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:pick_snap/pick_snap.dart that imports:
  • package:pick_snap/src/image_gallery_picker.dart that imports:
  • package:pick_snap/src/permission_manager/permission_managers_service.dart that imports:
  • package:device_info_plus/device_info_plus.dart that imports:
  • package:device_info_plus/src/device_info_plus_windows.dart that imports:
  • package:win32_registry/win32_registry.dart that declares support for platforms: Windows.

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:pick_snap/pick_snap.dart that imports:
  • package:pick_snap/src/image_gallery_picker.dart that imports:
  • package:pick_snap/src/permission_manager/permission_managers_service.dart that imports:
  • package:device_info_plus/device_info_plus.dart that imports:
  • package:device_info_plus/src/device_info_plus_windows.dart that imports:
  • package:win32_registry/win32_registry.dart that imports:
  • package:win32_registry/src/registry_value.dart that imports:
  • package:win32_registry/src/models/models.dart that imports:
  • package:win32_registry/src/models/registry_value_type.dart that imports:
  • package:win32/win32.dart that imports:
  • package:win32/src/com/iwinhttprequest.dart that imports:
  • package:win32/src/com/iunknown.dart that imports:
  • package:win32/src/utils.dart that imports:
  • package:win32/src/win32/user32.g.dart that imports:
  • package:win32/src/variant.dart that imports:
  • package:win32/src/win32/oleaut32.g.dart that imports:
  • package:win32/src/structs.g.dart that imports:
  • package:win32/src/guid.dart that imports:
  • package:win32/src/win32/ole32.g.dart that imports:
  • package:win32/src/combase.dart that imports:
  • package:win32/src/macros.dart that imports:
  • package:win32/src/inline.dart that imports:
  • package:win32/src/win32/uxtheme.g.dart that imports:
  • package:win32/src/callbacks.dart that imports:
  • package:win32/src/types.dart that imports:
  • package:ffi/ffi.dart that imports:
  • package:ffi/src/utf8.dart that imports:
  • dart:ffi

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.

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:

/tmp/pana_MZBSME/lib/src/crop_image.dart doesn't match the Dart formatter.

To format your files run: dart format .

/tmp/pana_MZBSME/lib/src/image_gallery_picker.dart doesn't match the Dart formatter.

To format your files run: dart format .

failed
Support up-to-date dependencies
30 / 40trigger folding of the section

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

Package Constraint Compatible Latest
device_info_plus ^9.1.2 9.1.2 11.1.1
flutter flutter 0.0.0 0.0.0
image_cropper ^5.0.1 5.0.1 8.0.2
image_picker ^1.0.8 1.1.2 1.1.2
permission_handler ^11.3.1 11.3.1 11.3.1
Transitive dependencies
Package Constraint Compatible Latest
async - 2.12.0 2.12.0
characters - 1.3.0 1.3.1
collection - 1.18.0 1.19.1
cross_file - 0.3.4+2 0.3.4+2
device_info_plus_platform_interface - 7.0.1 7.0.1
ffi - 2.1.3 2.1.3
file - 7.0.1 7.0.1
file_selector_linux - 0.9.3+1 0.9.3+1
file_selector_macos - 0.9.4+2 0.9.4+2
file_selector_platform_interface - 2.6.2 2.6.2
file_selector_windows - 0.9.3+3 0.9.3+3
flutter_plugin_android_lifecycle - 2.0.23 2.0.23
flutter_web_plugins - 0.0.0 0.0.0
http - 1.2.2 1.2.2
http_parser - 4.0.2 4.1.1
image_cropper_for_web - 3.0.0 6.0.2
image_cropper_platform_interface - 5.0.0 7.0.0
image_picker_android - 0.8.12+17 0.8.12+17
image_picker_for_web - 3.0.6 3.0.6
image_picker_ios - 0.8.12+1 0.8.12+1
image_picker_linux - 0.2.1+1 0.2.1+1
image_picker_macos - 0.2.1+1 0.2.1+1
image_picker_platform_interface - 2.10.0 2.10.0
image_picker_windows - 0.2.1+1 0.2.1+1
js - 0.6.7 0.7.1
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
mime - 2.0.0 2.0.0
path - 1.9.1 1.9.1
permission_handler_android - 12.0.13 12.0.13
permission_handler_apple - 9.4.5 9.4.5
permission_handler_html - 0.1.3+2 0.1.3+2
permission_handler_platform_interface - 4.2.3 4.2.3
permission_handler_windows - 0.2.1 0.2.1
plugin_platform_interface - 2.1.8 2.1.8
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
string_scanner - 1.4.0 1.4.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.4.0 1.4.0
vector_math - 2.1.4 2.1.4
web - 1.1.0 1.1.0
win32 - 5.8.0 5.8.0
win32_registry - 1.1.5 2.0.0

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

The constraint `^9.1.2` on device_info_plus does not support the stable version `10.0.0`.

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

The constraint `^5.0.1` on image_cropper does not support the stable version `6.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.22.15, Flutter 3.24.4, Dart 3.5.4.

Check the analysis log for details.