mhu_flutter_camera 1.0.2 copy "mhu_flutter_camera: ^1.0.2" to clipboard
mhu_flutter_camera: ^1.0.2 copied to clipboard

Camera specific utilities for Flutter projects

1
likes
110/ 160
pub points
97
downloads

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

failed
Follow Dart file conventions
20 / 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.

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: MIT.

failed
Provide documentation
10 / 20trigger folding of the section

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

153 out of 514 API elements (29.8 %) have documentation comments.

Some symbols that are missing documentation: mhu_flutter_camera, mhu_flutter_camera.$CameraTimingMsg_ShutterTiming$$Ext, mhu_flutter_camera.$CameraTimingMsg_ShutterTiming$$Ext.shutterTiming, mhu_flutter_camera.CameraBits, mhu_flutter_camera.CameraBits.CameraBits.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add 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:mhu_flutter_camera/mhu_flutter_camera.dart that imports:
  • package:mhu_flutter_camera/src/camera.dart that imports:
  • package:camera/camera.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `Linux`.

Because:

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

Because:

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

Because:

  • package:mhu_flutter_camera/mhu_flutter_camera.dart that imports:
  • package:mhu_flutter_camera/src/model.dart that imports:
  • package:mhu_flutter_camera/proto.dart that imports:
  • package:mhu_flutter_camera/src/generated/mhu_flutter_camera.pbfield.dart that imports:
  • package:mhu_dart_commons/commons.dart that imports:
  • package:mhu_dart_commons/src/logger.dart that imports:
  • package:logger/logger.dart that imports:
  • package:logger/src/outputs/file_output_stub.dart that imports:
  • dart:io

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:mhu_flutter_camera/mhu_flutter_camera.dart that imports:
  • package:mhu_flutter_camera/src/model.dart that imports:
  • package:mhu_flutter_camera/proto.dart that imports:
  • package:mhu_flutter_camera/src/generated/mhu_flutter_camera.pbfield.dart that imports:
  • package:mhu_dart_commons/commons.dart that imports:
  • package:mhu_dart_commons/src/logger.dart that imports:
  • package:logger/logger.dart that imports:
  • package:logger/src/outputs/file_output_stub.dart that imports:
  • dart:io

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.

failed
Pass static analysis
30 / 50trigger folding of the section

30/50 points: code has no errors, warnings, lints, or formatting issues

Found 19 issues. Showing the first 2:

WARNING: The parameter type of '==' operators should be non-nullable.

lib/src/camera.freezed.dart:140:17

    ╷
140 │   bool operator ==(dynamic other) {
    │                 ^^
    ╵

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

WARNING: The parameter type of '==' operators should be non-nullable.

lib/src/camera.freezed.dart:402:17

    ╷
402 │   bool operator ==(dynamic other) {
    │                 ^^
    ╵

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

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
camera ^0.10.5+2 0.10.6 0.11.0+2
collection ^1.17.1 1.19.0 1.19.1
fast_immutable_collections ^9.1.5 9.2.1 11.0.0
flutter flutter 0.0.0 0.0.0
image ^4.0.17 4.5.2 4.5.2
logger ^1.4.0 1.4.0 2.5.0
mhu_dart_commons ^1.0.8 1.0.9 1.0.9
mhu_dart_model ^1.0.2 1.0.2 1.0.2
mhu_dart_proto ^1.0.2 1.0.3 1.0.3
mhu_flutter_commons ^1.0.5 1.0.5 1.0.5
protobuf ^3.0.0 3.1.0 3.1.0
rxdart ^0.27.7 0.27.7 0.28.0
Transitive dependencies
Package Constraint Compatible Latest
archive - 4.0.2 4.0.2
args - 2.6.0 2.6.0
async - 2.12.0 2.12.0
camera_android - 0.10.9+17 0.10.9+17
camera_avfoundation - 0.9.17+5 0.9.17+5
camera_platform_interface - 2.8.0 2.8.0
camera_web - 0.3.5 0.3.5
characters - 1.3.0 1.4.0
clock - 1.1.2 1.1.2
cross_file - 0.3.4+2 0.3.4+2
crypto - 3.0.6 3.0.6
decimal - 2.3.3 3.1.0
ffi - 2.1.3 2.1.3
fixnum - 1.1.1 1.1.1
flutter_colorpicker - 1.1.0 1.1.0
flutter_plugin_android_lifecycle - 2.0.24 2.0.24
flutter_svg - 2.0.16 2.0.16
flutter_web_plugins - 0.0.0 0.0.0
freezed_annotation - 2.4.4 2.4.4
go_router - 9.1.1 14.6.2
http - 1.2.2 1.2.2
http_parser - 4.1.1 4.1.1
intl - 0.18.1 0.20.1
isar - 3.1.0+1 3.1.0+1
js - 0.6.7 0.7.1
json_annotation - 4.9.0 4.9.0
logging - 1.3.0 1.3.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
path - 1.9.1 1.9.1
path_parsing - 1.1.0 1.1.0
petitparser - 6.0.2 6.0.2
plugin_platform_interface - 2.1.8 2.1.8
posix - 6.0.1 6.0.1
rational - 2.2.3 2.2.3
recase - 4.1.0 4.1.0
sky_engine - 0.0.0 0.0.0
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
timeago - 3.7.0 3.7.0
typed_data - 1.4.0 1.4.0
vector_graphics - 1.1.15 1.1.15
vector_graphics_codec - 1.1.12 1.1.12
vector_graphics_compiler - 1.1.16 1.1.16
vector_math - 2.1.4 2.1.4
web - 1.1.0 1.1.0
xml - 6.5.0 6.5.0

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

Found 4 issues. Showing the first 2:

The constraint `^0.10.5+2` on camera does not support the stable version `0.11.0`.

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

The constraint `^9.1.5` on fast_immutable_collections does not support the stable version `10.0.0`.

Try running dart pub upgrade --major-versions fast_immutable_collections 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.17, Flutter 3.27.0, Dart 3.6.0.

Check the analysis log for details.