simple_camera 1.0.3
simple_camera: ^1.0.3 copied to clipboard
Package for quick and easy use of the camera, you can implement and use the camera in your application in a few steps
We analyzed this package 2 days ago, and awarded it 140 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
Issue tracker URL doesn't exist.
At the time of the analysis https://github.com/mathlouly/simple_camera/issues
was unreachable. Make sure that the website is reachable via HEAD
requests.
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
29 out of 79 API elements (36.7 %) have documentation comments.
Some symbols that are missing documentation: simple_camera
, simple_camera.SimpleCamera
, simple_camera.SimpleCamera.SimpleCamera.new
, simple_camera.SimpleCamera.aspectRatio
, simple_camera.SimpleCamera.cameraId
.
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:simple_camera/simple_camera.dart
that declares support for platforms:Android
,iOS
,Web
.
Package does not support platform `Linux`.
Because:
package:simple_camera/simple_camera.dart
that declares support for platforms:Android
,iOS
,Web
.
Package does not support platform `macOS`.
Because:
package:simple_camera/simple_camera.dart
that declares support for platforms:Android
,iOS
,Web
.
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:simple_camera/simple_camera.dart
that imports:package:simple_camera/src/simple_camera_preview.dart
that imports:package:simple_camera/src/simple_camera.dart
that imports:package:camera_avfoundation/camera_avfoundation.dart
that declares support for platforms:iOS
.
Package does not support platform `iOS`.
Because:
package:simple_camera/simple_camera.dart
that imports:package:simple_camera/src/simple_camera_preview.dart
that imports:package:simple_camera/src/simple_camera.dart
that imports:package:camera_android/camera_android.dart
that declares support for platforms:Android
.
Package does not support platform `Web`.
Because:
package:simple_camera/simple_camera.dart
that imports:package:simple_camera/src/simple_camera_preview.dart
that imports:package:simple_camera/src/simple_camera.dart
that imports:package:camera_avfoundation/camera_avfoundation.dart
that declares support for platforms:iOS
.
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.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 11 issues. Showing the first 2:
WARNING: This default clause is covered by the previous cases.
lib/src/simple_camera_preview.dart:165:7
╷
165 │ default:
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/simple_camera_preview.dart
INFO: 'maxVideoDuration' is deprecated and shouldn't be used. This parameter is unused, and will be ignored on all platforms.
lib/src/simple_camera.dart:349:9
╷
349 │ maxVideoDuration: maxVideoDuration,
│ ^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/simple_camera.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
camera_android |
^0.10.8+15 |
0.10.10+2 | 0.10.10+2 | |
camera_avfoundation |
^0.9.13+8 |
0.9.18+14 | 0.9.18+14 | |
camera_platform_interface |
^2.7.0 |
2.10.0 | 2.10.0 | |
camera_web |
^0.3.2+3 |
0.3.5 | 0.3.5 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
characters |
- | 1.4.0 | 1.4.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
cross_file |
- | 0.3.4+2 | 0.3.4+2 | |
flutter_plugin_android_lifecycle |
- | 2.0.28 | 2.0.28 | |
material_color_utilities |
- | 0.11.1 | 0.12.0 | |
meta |
- | 1.16.0 | 1.16.0 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
stream_transform |
- | 2.1.1 | 2.1.1 | |
vector_math |
- | 2.1.4 | 2.1.5 | |
web |
- | 1.1.1 | 1.1.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
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.20
, Flutter 3.29.2
, Dart 3.7.2
.
Check the analysis log for details.