penguin_camera 0.0.2 penguin_camera: ^0.0.2 copied to clipboard
Provides a platform-agnostic interface for accessing cameras camera features.
We analyzed this package 5 days ago, and awarded it 110 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
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
.
10/10 points: 20% or more of the public API has dartdoc comments
716 out of 729 API elements (98.2 %) have documentation comments.
Some symbols that are missing documentation: android
, android.CameraParameters.remove
, android.CameraParameters.whiteBalanceAuto
, android.CameraParameters.whiteBalanceCloudyDaylight
, android.CameraParameters.whiteBalanceDaylight
.
10/10 points: Package has an example
0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
These platforms are not supported:
Package does not support platform `Android`.
Because:
package:penguin_camera/penguin_camera.dart
that imports:package:penguin_camera/src/platform_interface.dart
that imports:package:penguin_camera/src/ios/av_foundation.dart
that imports:package:av_foundation/av_foundation.dart
that declares support for platforms:iOS
.
Package does not support platform `iOS`.
Because:
package:penguin_camera/penguin_camera.dart
that imports:package:penguin_camera/src/platform_interface.dart
that imports:package:penguin_camera/src/android/camera1.dart
that imports:package:android_hardware/android_hardware.dart
that declares support for platforms:Android
.
Package does not support platform `Windows`.
Because:
package:penguin_camera/penguin_camera.dart
that imports:package:penguin_camera/src/platform_interface.dart
that imports:package:penguin_camera/src/ios/av_foundation.dart
that imports:package:av_foundation/av_foundation.dart
that declares support for platforms:iOS
.
Package does not support platform `Linux`.
Because:
package:penguin_camera/penguin_camera.dart
that imports:package:penguin_camera/src/platform_interface.dart
that imports:package:penguin_camera/src/ios/av_foundation.dart
that imports:package:av_foundation/av_foundation.dart
that declares support for platforms:iOS
.
Package does not support platform `macOS`.
Because:
package:penguin_camera/penguin_camera.dart
that imports:package:penguin_camera/src/platform_interface.dart
that imports:package:penguin_camera/src/ios/av_foundation.dart
that imports:package:av_foundation/av_foundation.dart
that declares support for platforms:iOS
.
Package does not support platform `Web`.
Because:
package:penguin_camera/penguin_camera.dart
that imports:package:penguin_camera/src/platform_interface.dart
that imports:package:penguin_camera/src/ios/av_foundation.dart
that imports:package:av_foundation/av_foundation.dart
that declares support for platforms:iOS
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:penguin_camera/penguin_camera.dart
that imports:package:penguin_camera/src/platform_interface.dart
that imports:package:penguin_camera/src/ios/av_foundation.dart
that imports:package:av_foundation/av_foundation.dart
that imports:package:av_foundation/src/av_foundation.dart
that imports:package:av_foundation/src/av_foundation_channels.dart
that imports:package:av_foundation/src/av_foundation.g.dart
that imports:package:reference/reference.dart
that imports:package:reference/src/widget.dart
that imports:package:reference/src/method_channel.dart
that imports:package:reference/src/type_channel.dart
that imports:package:reference/src/instance_manager.dart
that imports:package:ffi/ffi.dart
that imports:package:ffi/src/utf16.dart
that imports:dart:ffi
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.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 4 issues. Showing the first 2:
WARNING: This function has a nullable return type of 'FutureOr
lib/src/ios/av_foundation.dart:357:17
╷
357 │ Future<Size?> outputSize() async {
│ ^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/ios/av_foundation.dart
WARNING: This function has a nullable return type of 'FutureOr
lib/src/ios/av_foundation.dart:514:17
╷
514 │ Future<Size?> outputSize() async {
│ ^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/ios/av_foundation.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
android_hardware |
^0.0.1 |
0.0.1 | 0.0.1 |
android_media |
^0.0.1 |
0.0.1 | 0.0.1 |
av_foundation |
^0.0.1 |
0.0.1 | 0.0.1 |
collection |
^1.15.0 |
1.18.0 | 1.19.1 |
flutter |
flutter |
0.0.0 | 0.0.0 |
flutter_lints |
^1.0.0 |
1.0.4 | 5.0.0 |
plugin_platform_interface |
^2.0.0 |
2.1.8 | 2.1.8 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
characters |
- | 1.3.0 | 1.3.1 |
ffi |
- | 1.2.1 | 2.1.3 |
lints |
- | 1.0.1 | 5.1.0 |
material_color_utilities |
- | 0.11.1 | 0.12.0 |
meta |
- | 1.15.0 | 1.16.0 |
reference |
- | 0.4.3+1 | 0.4.3+1 |
sky_engine |
- | 0.0.99 | 0.0.99 |
vector_math |
- | 2.1.4 | 2.1.4 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^1.0.0` on flutter_lints does not support the stable version `2.0.0`.
Try running dart pub upgrade --major-versions flutter_lints
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.15
, Flutter 3.24.4
, Dart 3.5.4
.
Check the analysis log for details.