camera_pkg 0.0.9 copy "camera_pkg: ^0.0.9" to clipboard
camera_pkg: ^0.0.9 copied to clipboard

Camera package combined with image quality compressor and cropper.

2
likes
60/ 160
pub points
71
downloads

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

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

Failed check 0/10 points: Provide a valid pubspec.yaml

  • pubspec.yaml doesn't have a homepage entry.

  • pubspec.yaml doesn't have a repository entry.

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

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

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

Failed report section
Provide documentation
10 / 20trigger folding of the section

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

9 out of 20 API elements (45.0 %) have documentation comments.

Some symbols that are missing documentation: camera_pkg, camera_pkg.CameraControl.CameraControl.new, camera_pkg.CameraControl.primaryColor, camera_pkg.main, centered_slider_track_shape.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Failed 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:camera_pkg/camera_pkg.dart that imports:
  • package:video_player/video_player.dart that declares support for platforms: Android, iOS, macOS, Web.
Package does not support platform `Linux`.

Because:

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

Because:

  • package:camera_pkg/camera_pkg.dart that imports:
  • package:image_cropper/image_cropper.dart that declares support for platforms: Android, iOS, Web.
Package not compatible with platform Web

Because:

  • package:camera_pkg/camera_pkg.dart that imports:
  • package:video_player/video_player.dart that imports:
  • dart:io

Failed check 0/0 points: WASM compatibility

Unable to detect compatibility with runtime wasm, and this package will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

Failed report section
Pass static analysis
0 / 50trigger folding of the section

Failed check 0/50 points: code has no errors, warnings, lints, or formatting issues

Found 15 issues. Showing the first 2:

ERROR: The named parameter 'primary' isn't defined.

lib/camera_pkg.dart:714:7

    ╷
714 │       primary: controller?.value.exposureMode == ExposureMode.auto
    │       ^^^^^^^
    ╵

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

ERROR: The named parameter 'primary' isn't defined.

lib/camera_pkg.dart:721:7

    ╷
721 │       primary: controller?.value.exposureMode == ExposureMode.locked
    │       ^^^^^^^
    ╵

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

Failed report section
Support up-to-date dependencies
20 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
camera any 0.11.1 0.11.1
crop any 0.5.5 0.5.5
image_cropper any 9.1.0 9.1.0
video_player any 2.10.0 2.10.0
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
camera_android_camerax - 0.6.18+3 0.6.18+3
camera_avfoundation - 0.9.20+1 0.9.20+1
camera_platform_interface - 2.10.0 2.10.0
camera_web - 0.3.5 0.3.5
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
collision - 0.0.3 0.0.3
cross_file - 0.3.4+2 0.3.4+2
csslib - 1.0.2 1.0.2
flutter_plugin_android_lifecycle - 2.0.28 2.0.28
html - 0.15.6 0.15.6
http - 1.4.0 1.4.0
http_parser - 4.1.2 4.1.2
image_cropper_for_web - 6.1.0 6.1.0
image_cropper_platform_interface - 7.1.0 7.1.0
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.0
path - 1.9.1 1.9.1
plugin_platform_interface - 2.1.8 2.1.8
source_span - 1.10.1 1.10.1
stream_transform - 2.1.1 2.1.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.1.4 2.2.0
video_player_android - 2.8.7 2.8.7
video_player_avfoundation - 2.7.1 2.7.1
video_player_platform_interface - 6.3.0 6.3.0
video_player_web - 2.3.5 2.3.5
web - 1.1.1 1.1.1

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

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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 9 errors:

  • UNDEFINED_NAMED_PARAMETER - lib/camera_pkg.dart:714:7 - The named parameter 'primary' isn't defined.
  • UNDEFINED_NAMED_PARAMETER - lib/camera_pkg.dart:721:7 - The named parameter 'primary' isn't defined.
  • UNDEFINED_NAMED_PARAMETER - lib/camera_pkg.dart:801:7 - The named parameter 'primary' isn't defined.

Run flutter pub downgrade and then flutter analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.22.21, Flutter 3.32.4, Dart 3.8.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
2
likes
60
points
71
downloads

Publisher

unverified uploader

Weekly Downloads

Camera package combined with image quality compressor and cropper.

Documentation

API reference

License

unknown (license)

Dependencies

camera, crop, flutter, image_cropper, video_player

More

Packages that depend on camera_pkg