Skip to main content

adaptive_media_picker 2.0.0 copy "adaptive_media_picker: ^2.0.0" to clipboard
adaptive_media_picker: ^2.0.0 copied to clipboard

Image & video picker with permissions, camera/gallery source sheet, cropping (incl. circle) on every platform, size/type validation, and no READ_MEDIA permission.

150/ 160
pub points
532
downloads

We analyzed this package 26 hours ago, and awarded it 150 pub points (of a possible 160):

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

132 out of 132 API elements (100.0 %) have documentation comments.

Passed check 10/10 points: Package has an example

Passed report section
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

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

Package does not support platform `iOS`.

Because:

  • package:adaptive_media_picker/adaptive_media_picker.dart that imports:
  • package:adaptive_media_picker/src/platform/permission_manager.dart that imports:
  • package:image_picker_android/image_picker_android.dart that declares support for platforms: Android.
Package does not support platform `Windows`.

Because:

  • package:adaptive_media_picker/adaptive_media_picker.dart that imports:
  • package:adaptive_media_picker/src/ui/limited_access_picker.dart that imports:
  • package:photo_manager/photo_manager.dart that declares support for platforms: Android, iOS, macOS.
Package does not support platform `Linux`.

Because:

  • package:adaptive_media_picker/adaptive_media_picker.dart that imports:
  • package:adaptive_media_picker/src/ui/limited_access_picker.dart that imports:
  • package:smart_permission/smart_permission.dart that declares support for platforms: Android, iOS, Windows, Web.
Package does not support platform `macOS`.

Because:

  • package:adaptive_media_picker/adaptive_media_picker.dart that imports:
  • package:adaptive_media_picker/src/ui/limited_access_picker.dart that imports:
  • package:smart_permission/smart_permission.dart that declares support for platforms: Android, iOS, Windows, Web.

WASM-ready: This package is compatible with runtime wasm. See https://dart.dev/web/wasm for details.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

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

Found 12 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/src/adaptive_media_picker_impl.dart:2:1

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

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

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/src/platform/builtin_cropper.dart:2:1

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

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

Partially passed report section
Support up-to-date dependencies
40 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
crop_your_image ^2.0.1 2.0.1 2.0.1
image_cropper >=12.2.1 <14.0.0 13.0.0 14.0.0
image_picker ^1.2.3 1.2.4 1.2.4
image_picker_android ^0.8.13 0.8.13+25 0.8.13+25
image_picker_platform_interface ^2.10.0 2.11.2 2.11.2
photo_manager ^3.12.0 3.12.0 3.12.0
smart_permission ^1.0.1 1.1.0 1.1.0
Transitive dependencies
Package Constraint Compatible Latest Notes
archive - 4.7.1 4.7.1
async - 2.13.1 2.13.1
characters - 1.4.1 1.4.1
clock - 1.1.3 1.1.3
collection - 1.19.1 1.19.1
cross_file - 0.3.5+5 0.4.0
cupertino_ui - 1.1.7 1.1.7
ffi - 2.2.0 2.2.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_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 - 4.13.1 4.13.1
image_cropper_for_web - 8.0.1 8.0.1
image_cropper_platform_interface - 9.0.0 9.0.0
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_windows - 0.2.2 0.2.2
intl - 0.20.3 0.20.3
listen - 1.0.1 1.0.1
material_color_utilities - 0.13.0 0.13.1
material_ui - 1.11.1 1.11.1
meta - 1.19.0 1.19.0
mime - 2.1.0 2.1.0
path - 1.9.1 1.9.1
permission_handler - 13.0.2 13.0.2
permission_handler_android - 14.1.1 14.1.1
permission_handler_apple - 9.6.5 9.6.5
permission_handler_html - 0.1.4+1 0.1.4+1
permission_handler_platform_interface - 4.4.1 4.4.1
permission_handler_windows - 0.2.4 0.2.4
plugin_platform_interface - 2.1.8 2.1.8
posix - 6.5.4 6.5.4
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
yaml - 3.1.4 3.1.4

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

The constraint `>=12.2.1 <14.0.0` on image_cropper does not support the stable version `14.0.0`, that was published 0 days ago.

When image_cropper is 30 days old, this package will no longer be awarded points in this category.

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

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

Passed check 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.

Weekly downloads

Display as:
By versions:
37
likes
150
points
532
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Image & video picker with permissions, camera/gallery source sheet, cropping (incl. circle) on every platform, size/type validation, and no READ_MEDIA permission.

Repository (GitHub)
View/report issues

Topics

#image-picker #video-picker #camera #gallery #file-selection

License

MIT (license)

Dependencies

crop_your_image, flutter, image_cropper, image_picker, image_picker_android, image_picker_platform_interface, photo_manager, smart_permission

More

Packages that depend on adaptive_media_picker