whatsapp_camera 1.0.0 copy "whatsapp_camera: ^1.0.0" to clipboard
whatsapp_camera: ^1.0.0 copied to clipboard

This is a package to open a camera along with a photo gallery, to simplify the steps of the end user

140/ 160
pub points
8
downloads

We analyzed this package 12 days ago, and awarded it 140 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

7 out of 14 API elements (50.0 %) have documentation comments.

Some symbols that are missing documentation: camera_whatsapp, camera_whatsapp.WhatsappCamera, view_image, view_image.ImageType, view_image.ViewImage.

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:whatsapp_camera/whatsapp_camera.dart that imports:
  • package:whatsapp_camera/camera/camera_whatsapp.dart that imports:
  • package:photo_gallery/photo_gallery.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

  • package:whatsapp_camera/whatsapp_camera.dart that imports:
  • package:whatsapp_camera/camera/camera_whatsapp.dart that imports:
  • package:file_picker/file_picker.dart that imports:
  • package:file_picker/src/file_picker.dart that imports:
  • package:file_picker/src/windows/file_picker_windows.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `macOS`.

Because:

  • package:whatsapp_camera/whatsapp_camera.dart that imports:
  • package:whatsapp_camera/camera/camera_whatsapp.dart that imports:
  • package:file_picker/file_picker.dart that imports:
  • package:file_picker/src/file_picker.dart that imports:
  • package:file_picker/src/windows/file_picker_windows.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `Web`.

Because:

  • package:whatsapp_camera/whatsapp_camera.dart that imports:
  • package:whatsapp_camera/camera/camera_whatsapp.dart that imports:
  • package:photo_gallery/photo_gallery.dart that declares support for platforms: Android, iOS.

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:whatsapp_camera/whatsapp_camera.dart that imports:
  • package:whatsapp_camera/camera/camera_whatsapp.dart that imports:
  • package:file_picker/file_picker.dart that imports:
  • package:file_picker/src/file_picker.dart that imports:
  • package:file_picker/src/windows/file_picker_windows.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:whatsapp_camera/whatsapp_camera.dart that imports:
  • package:whatsapp_camera/camera/camera_whatsapp.dart that imports:
  • package:file_picker/file_picker.dart that imports:
  • package:file_picker/src/file_picker.dart that imports:
  • package:file_picker/src/windows/file_picker_windows.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
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 5 issues. Showing the first 2:

INFO: Missing type annotation.

lib/camera/camera_whatsapp.dart:45:3

   ╷
45 │   _timer() {
   │   ^^^^^^
   ╵

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

INFO: Don't use 'BuildContext's across async gaps.

lib/camera/camera_whatsapp.dart:212:39

    ╷
212 │                         Navigator.pop(context, controller.selectedImages);
    │                                       ^^^^^^^
    ╵

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

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
camera_camera ^2.0.2 2.0.2 3.0.0
file_picker ^5.2.2 5.5.0 10.3.8
flutter_sliding_up_panel ^2.0.1 2.1.1 2.1.1
permission_handler ^10.2.0 10.4.5 12.0.1
photo_gallery ^1.1.1 1.2.2 2.2.1
photo_view ^0.14.0 0.14.0 0.15.0
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
boolean_selector - 2.1.2 2.1.2
camera - 0.8.1+7 0.11.3
camera_platform_interface - 2.12.0 2.12.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.4 2.1.4
flutter_plugin_android_lifecycle - 2.0.33 2.0.33
font_awesome_flutter - 9.2.0 10.12.0
matcher - 0.12.18 0.12.18
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.17.0
path - 1.9.1 1.9.1
pedantic - 1.11.1 1.11.1 Discontinued
permission_handler_android - 10.3.6 13.0.1
permission_handler_apple - 9.1.4 9.4.7
permission_handler_platform_interface - 3.12.0 4.3.0
permission_handler_windows - 0.1.3 0.2.1
plugin_platform_interface - 2.1.8 2.1.8
quiver - 3.2.2 3.2.2
rxdart - 0.26.0 0.28.0
source_span - 1.10.1 1.10.1
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.4 2.1.4
stream_transform - 2.1.1 2.1.1
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
test_api - 0.7.8 0.7.8
vector_math - 2.2.0 2.2.0
web - 1.1.1 1.1.1
win32 - 5.15.0 5.15.0

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

Found 5 issues. Showing the first 2:

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

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

The constraint `^5.2.2` on file_picker does not support the stable version `6.0.0`.

Try running dart pub upgrade --major-versions file_picker 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.3, Flutter 3.38.4, Dart 3.10.3.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
47
likes
140
points
8
downloads

Publisher

unverified uploader

Weekly Downloads

This is a package to open a camera along with a photo gallery, to simplify the steps of the end user

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

camera_camera, file_picker, flutter, flutter_sliding_up_panel, permission_handler, photo_gallery, photo_view

More

Packages that depend on whatsapp_camera