penguin_camera 0.0.1
penguin_camera: ^0.0.1 copied to clipboard
Provides a platform-agnostic interface for accessing cameras camera features.
We analyzed this package 2 days ago, and awarded it 60 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 744 API elements (96.2 %) have documentation comments.
Some symbols that are missing documentation: android
, android.AudioEncoder.AudioEncoder.new
, android.AudioSource.AudioSource.new
, android.CameraParameters.remove
, android.CameraParameters.whiteBalanceAuto
.
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
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.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 7 issues. Showing the first 2:
ERROR: The name 'Preview' is defined in the libraries 'package:av_foundation/src/av_foundation.dart (via package:av_foundation/av_foundation.dart)' and 'package:flutter/src/widgets/widget_preview.dart (via package:flutter/widgets.dart)'.
lib/src/ios/av_foundation.dart:337:14
╷
337 │ late final Preview preview;
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/ios/av_foundation.dart
ERROR: The name 'Preview' is defined in the libraries 'package:av_foundation/src/av_foundation.dart (via package:av_foundation/av_foundation.dart)' and 'package:flutter/src/widgets/widget_preview.dart (via package:flutter/widgets.dart)'.
lib/src/ios/av_foundation.dart:343:15
╷
343 │ preview = Preview(controller: PreviewController(controller.session));
│ ^^^^^^^
╵
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 | Notes |
---|---|---|---|---|
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.19.1 | 1.19.1 | |
flutter_lints |
^1.0.0 |
1.0.4 | 6.0.0 | |
plugin_platform_interface |
^2.0.0 |
2.1.8 | 2.1.8 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
characters |
- | 1.4.0 | 1.4.1 | |
ffi |
- | 1.2.1 | 2.1.4 | |
lints |
- | 1.0.1 | 6.0.0 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
reference |
- | 0.4.3+1 | 0.4.3+1 | |
vector_math |
- | 2.1.4 | 2.2.0 |
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
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 3 errors:
AMBIGUOUS_IMPORT
-lib/src/ios/av_foundation.dart:337:14
- The name 'Preview' is defined in the libraries 'package:av_foundation/src/av_foundation.dart (via package:av_foundation/av_foundation.dart)' and 'package:flutter/src/widgets/widget_preview.dart (via package:flutter/widgets.dart)'.AMBIGUOUS_IMPORT
-lib/src/ios/av_foundation.dart:343:15
- The name 'Preview' is defined in the libraries 'package:av_foundation/src/av_foundation.dart (via package:av_foundation/av_foundation.dart)' and 'package:flutter/src/widgets/widget_preview.dart (via package:flutter/widgets.dart)'.INVOCATION_OF_NON_FUNCTION
-lib/src/ios/av_foundation.dart:343:15
- 'Preview' isn't a function.
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.