device_media 0.0.3 copy "device_media: ^0.0.3" to clipboard
device_media: ^0.0.3 copied to clipboard

Easy Image Picker

115/ 160
pub points
12
downloads

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

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

Failed check 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 50 to 180 characters to describe the package, what it does, and its target use case.

Failed to verify repository URL.

Repository has no matching pubspec.yaml with name: device_media.

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: device_media,
    • contains a version property, and,
    • does not contain a publish_to property.

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

Failed check 0/5 points: Provide a valid CHANGELOG.md

`CHANGELOG.md` does not contain reference to the current version ("0.0.3").

Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.

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

Detected license: BSD-3-Clause.

Partially passed report section
Provide documentation
10 / 20trigger folding of the section

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

2 out of 15 API elements (13.3 %) 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: device_media, device_media.CropType, device_media.DeviceMediaData, device_media.DeviceMediaData.DeviceMediaData.new, device_media.DeviceMediaExt.

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 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:device_media/device_media.dart that imports:
  • package:device_media/src/impl/device_media_service_impl.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:device_media/device_media.dart that imports:
  • package:device_media/src/impl/device_media_service_impl.dart that imports:
  • package:image_cropper/image_cropper.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `macOS`.

Because:

  • package:device_media/device_media.dart that imports:
  • package:device_media/src/impl/device_media_service_impl.dart that imports:
  • package:image_cropper/image_cropper.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `Web`.

Because:

  • package:device_media/device_media.dart that imports:
  • package:device_media/src/impl/device_media_service_impl.dart that imports:
  • package:path_provider/path_provider.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.
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

  • Running dart format failed:
Formatted 5 files (0 changed) in 0.02 seconds.
Warning: Package resolution error when reading "analysis_options.yaml" file:
Failed to resolve package URI "package:flutter_lints/flutter.yaml" in include.
Could not format because the source could not be parsed:

line 8, column 16 of ../../pana_WMCOAZ/example/lib/main.dart: This requires the 'super-parameters' language feature to be enabled.
  ╷
8 │   const MyApp({super.key});
  │                ^^^^^
  ╵```
Failed report section
Support up-to-date dependencies
30 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
flutter_image_compress ^1.1.0 1.1.3 2.4.0
image_cropper ^2.0.2 2.0.3 11.0.0
image_picker ^0.8.5+3 0.8.9 1.2.1
path_provider ^2.0.9 2.1.5 2.1.5
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
cross_file - 0.3.5+1 0.3.5+1
ffi - 2.1.5 2.1.5
file_selector_linux - 0.9.4 0.9.4
file_selector_macos - 0.9.5 0.9.5
file_selector_platform_interface - 2.7.0 2.7.0
file_selector_windows - 0.9.3+5 0.9.3+5
flutter_plugin_android_lifecycle - 2.0.33 2.0.33
http - 0.13.6 1.6.0
http_parser - 4.1.2 4.1.2
image_cropper_for_web - 0.0.4 7.0.0
image_cropper_platform_interface - 2.0.0 8.0.0
image_picker_android - 0.8.13+10 0.8.13+10
image_picker_for_web - 2.2.0 3.1.1
image_picker_ios - 0.8.13+3 0.8.13+3
image_picker_linux - 0.2.2 0.2.2
image_picker_macos - 0.2.2+1 0.2.2+1
image_picker_platform_interface - 2.11.1 2.11.1
image_picker_windows - 0.2.2 0.2.2
js - 0.6.7 0.7.2 Discontinued
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.17.0
mime - 1.0.6 2.0.0
path - 1.9.1 1.9.1
path_provider_android - 2.2.22 2.2.22
path_provider_foundation - 2.5.1 2.5.1
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.3.0 2.3.0
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
source_span - 1.10.1 1.10.1
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.2.0 2.2.0
web - 1.1.1 1.1.1
xdg_directories - 1.1.0 1.1.0

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

Found 3 issues. Showing the first 2:

The constraint `^1.1.0` on flutter_image_compress does not support the stable version `2.0.0`.

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

The constraint `^2.0.2` on image_cropper does not support the stable version `3.0.0`.

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.5, Flutter 3.38.5, Dart 3.10.4.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
115
points
12
downloads

Publisher

verified publisherfighttech.vn

Weekly Downloads

Easy Image Picker

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, flutter_image_compress, image_cropper, image_picker, path_provider

More

Packages that depend on device_media