a_cameras 1.1.0
a_cameras: ^1.1.0 copied to clipboard
A Flutter plugin for accessing camera functionalities across various platforms with a unified API. Currently supports web only.
We analyzed this package 3 hours ago, and awarded it 140 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
18 out of 34 API elements (52.9 %) have documentation comments.
Some symbols that are missing documentation: a_cameras
, a_cameras.CameraController
, a_cameras.CameraController.CameraController.new
, a_cameras.CameraDescription.CameraDescription.fromHelpLib
, a_cameras.CameraDescription.CameraDescription.fromJs
.
10/10 points: Package has an example
20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Web
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:a_cameras/a_cameras.dart
that declares support for platforms:Android
,iOS
,Web
.
Package does not support platform `Linux`.
Because:
package:a_cameras/a_cameras.dart
that declares support for platforms:Android
,iOS
,Web
.
Package does not support platform `macOS`.
Because:
package:a_cameras/a_cameras.dart
that declares support for platforms:Android
,iOS
,Web
.
0/0 points: WASM compatibility
This package is compatible with runtime wasm
, and will be rewarded additional points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
0/0 points: Swift Package Manager support
Package does not support the Swift Package Manager on iOS
It does not contain ios/a_cameras/Package.swift
.
This package for iOS or macOS does not support the Swift Package Manager. It will not receive full points in a future version of the scoring model.
See https://docs.flutter.dev/to/spm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
INFO: The variable name '_$$_CameraDescriptionFromJson' isn't a lowerCamelCase identifier.
lib/src/models/camera_description/camera_description.g.dart:9:22
╷
9 │ _$_CameraDescription _$$_CameraDescriptionFromJson(Map<String, dynamic> json) =>
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/models/camera_description/camera_description.g.dart
INFO: The variable name '_$$_CameraDescriptionToJson' isn't a lowerCamelCase identifier.
lib/src/models/camera_description/camera_description.g.dart:20:22
╷
20 │ Map<String, dynamic> _$$_CameraDescriptionToJson(
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/models/camera_description/camera_description.g.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
camera |
^0.11.2 |
0.11.2 | 0.11.2 | |
camera_platform_interface |
^2.5.2 |
2.10.0 | 2.10.0 | |
freezed_annotation |
^2.4.4 |
2.4.4 | 3.1.0 | |
json_annotation |
^4.8.1 |
4.9.0 | 4.9.0 | |
logger |
^2.0.2+1 |
2.6.1 | 2.6.1 | |
plugin_platform_interface |
^2.0.2 |
2.1.8 | 2.1.8 | |
shared_preferences |
^2.2.2 |
2.5.3 | 2.5.3 | |
universal_html |
^2.2.4 |
2.2.4 | 2.2.4 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
camera_android_camerax |
- | 0.6.21 | 0.6.21 | |
camera_avfoundation |
- | 0.9.21+2 | 0.9.21+2 | |
camera_web |
- | 0.3.5 | 0.3.5 | |
characters |
- | 1.4.0 | 1.4.1 | |
charcode |
- | 1.4.0 | 1.4.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
cross_file |
- | 0.3.4+2 | 0.3.4+2 | |
csslib |
- | 1.0.2 | 1.0.2 | |
ffi |
- | 2.1.4 | 2.1.4 | |
file |
- | 7.0.1 | 7.0.1 | |
flutter_plugin_android_lifecycle |
- | 2.0.30 | 2.0.30 | |
html |
- | 0.15.6 | 0.15.6 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_provider_linux |
- | 2.2.1 | 2.2.1 | |
path_provider_platform_interface |
- | 2.1.2 | 2.1.2 | |
path_provider_windows |
- | 2.3.0 | 2.3.0 | |
platform |
- | 3.1.6 | 3.1.6 | |
shared_preferences_android |
- | 2.4.12 | 2.4.12 | |
shared_preferences_foundation |
- | 2.5.4 | 2.5.4 | |
shared_preferences_linux |
- | 2.4.1 | 2.4.1 | |
shared_preferences_platform_interface |
- | 2.4.1 | 2.4.1 | |
shared_preferences_web |
- | 2.4.3 | 2.4.3 | |
shared_preferences_windows |
- | 2.4.1 | 2.4.1 | |
source_span |
- | 1.10.1 | 1.10.1 | |
stream_transform |
- | 2.1.1 | 2.1.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
universal_io |
- | 2.2.2 | 2.2.2 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
web |
- | 1.1.1 | 1.1.1 | |
xdg_directories |
- | 1.1.0 | 1.1.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^2.4.4` on freezed_annotation does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions freezed_annotation
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.22
, Flutter 3.35.1
, Dart 3.9.0
.
Check the analysis log for details.