flutter_soft_camera 0.1.0
flutter_soft_camera: ^0.1.0 copied to clipboard
This package give you access to some flexible and fully customizable camera widgets.
We analyzed this package 36 hours ago, and awarded it 120 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.
0/10 points: 20% or more of the public API has dartdoc comments
1 out of 12 API elements (8.3 %) have documentation comments.
Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.
To highlight public API members missing documentation consider enabling the public_member_api_docs lint.
Some symbols that are missing documentation: flutter_soft_camera, flutter_soft_camera.SoftCamera, flutter_soft_camera.SoftCamera.SoftCamera.new, flutter_soft_camera.SoftCamera.controller, flutter_soft_camera.SoftCamera.isVideo.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add 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:flutter_soft_camera/flutter_soft_camera.dartthat imports:package:camera/camera.dartthat declares support for platforms:Android,iOS,Web.
Package does not support platform `Linux`.
Because:
package:flutter_soft_camera/flutter_soft_camera.dartthat imports:package:camera/camera.dartthat declares support for platforms:Android,iOS,Web.
Package does not support platform `macOS`.
Because:
package:flutter_soft_camera/flutter_soft_camera.dartthat imports:package:camera/camera.dartthat 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 `Web`.
Because:
package:flutter_soft_camera/flutter_soft_camera.dartthat imports:package:audioplayers/audioplayers.dartthat imports:package:audioplayers/src/audio_cache.dartthat imports:package:path_provider/path_provider.dartthat declares support for platforms:Android,iOS,Windows,Linux,macOS.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:flutter_soft_camera/flutter_soft_camera.dartthat imports:package:audioplayers/audioplayers.dartthat imports:package:audioplayers/src/source.dartthat imports:package:audioplayers/src/audioplayer.dartthat imports:package:audioplayers_platform_interface/audioplayers_platform_interface.dartthat imports:package:audioplayers_platform_interface/method_channel_audioplayers_platform.dartthat imports:package:audioplayers_platform_interface/logger_platform_interface.dartthat imports:package:audioplayers_platform_interface/api/audio_context_config.dartthat 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.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 11 issues. Showing the first 2:
INFO: 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss.
lib/flutter_soft_camera.dart:48:44
╷
48 │ Color _cameraOverlayColor = Colors.white.withOpacity(1);
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/flutter_soft_camera.dart
INFO: Missing type annotation.
lib/flutter_soft_camera.dart:54:3
╷
54 │ _init() async {
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/flutter_soft_camera.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
audioplayers |
^1.0.1 |
1.2.0 | 6.5.1 | |
camera |
^0.10.0 |
0.10.6 | 0.11.3 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
audioplayers_android |
- | 1.1.3 | 5.2.1 | |
audioplayers_darwin |
- | 1.0.4 | 6.3.0 | |
audioplayers_linux |
- | 1.0.2 | 4.2.1 | |
audioplayers_platform_interface |
- | 2.1.0 | 7.1.1 | |
audioplayers_web |
- | 2.1.0 | 5.1.1 | |
audioplayers_windows |
- | 1.1.1 | 4.2.1 | |
camera_android |
- | 0.10.10+14 | 0.10.10+14 | |
camera_avfoundation |
- | 0.9.23+2 | 0.9.23+2 | |
camera_platform_interface |
- | 2.12.0 | 2.12.0 | |
camera_web |
- | 0.3.5+3 | 0.3.5+3 | |
characters |
- | 1.4.0 | 1.4.1 | |
code_assets |
- | 1.0.0 | 1.0.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
cross_file |
- | 0.3.5+2 | 0.3.5+2 | |
crypto |
- | 3.0.7 | 3.0.7 | |
ffi |
- | 2.1.5 | 2.1.5 | |
file |
- | 7.0.1 | 7.0.1 | |
flutter_plugin_android_lifecycle |
- | 2.0.33 | 2.0.33 | |
glob |
- | 2.1.3 | 2.1.3 | |
hooks |
- | 1.0.1 | 1.0.1 | |
http |
- | 0.13.6 | 1.6.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
js |
- | 0.6.7 | 0.7.2 | Discontinued |
logging |
- | 1.3.0 | 1.3.0 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.18.1 | |
native_toolchain_c |
- | 0.17.4 | 0.17.4 | |
objective_c |
- | 9.3.0 | 9.3.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_provider |
- | 2.1.5 | 2.1.5 | |
path_provider_android |
- | 2.2.22 | 2.2.22 | |
path_provider_foundation |
- | 2.6.0 | 2.6.0 | |
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 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
pub_semver |
- | 2.2.0 | 2.2.0 | |
source_span |
- | 1.10.2 | 1.10.2 | |
stream_transform |
- | 2.1.1 | 2.1.1 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
uuid |
- | 3.0.7 | 4.5.2 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
web |
- | 1.1.1 | 1.1.1 | |
xdg_directories |
- | 1.1.0 | 1.1.0 | |
yaml |
- | 3.1.3 | 3.1.3 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^1.0.1` on audioplayers does not support the stable version `2.0.0`.
Try running dart pub upgrade --major-versions audioplayers to update the constraint.
The constraint `^0.10.0` on camera does not support the stable version `0.11.0`.
Try running dart pub upgrade --major-versions camera 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.23.9, Flutter 3.38.8, Dart 3.10.7.
Check the analysis log for details.