easy_use_camera 0.0.16
easy_use_camera: ^0.0.16 copied to clipboard
Easy to use camera for all platform.
We analyzed this package 1 hour ago, and awarded it 115 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too short.
Add more detail to the description
field of pubspec.yaml
. Use 50 to 180 characters to describe the package, what it does, and its target use case.
0/5 points: Provide a valid README.md
Links in `README.md` should be well formed Unable to parse 1 image link.
README.md:46:4
╷
46 │ <p><a href="%22https://medium.com/flutter-community/flutter-best-practices-and-tips-7c2782c9ebb5%22">Read this article about clean coding in flutter</a></p>
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
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
33 out of 136 API elements (24.3 %) have documentation comments.
Some symbols that are missing documentation: back_widget
, back_widget.BackWidget
, back_widget.BackWidget.BackWidget.new
, back_widget.BackWidget.onTap
, camera_dialog
.
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:easy_use_camera/easy_use_camera.dart
that imports:package:easy_use_camera/camera/preview_video.dart
that imports:package:video_player/video_player.dart
that declares support for platforms:Android
,iOS
,macOS
,Web
.
Package does not support platform `Linux`.
Because:
package:easy_use_camera/easy_use_camera.dart
that imports:package:easy_use_camera/camera/preview_video.dart
that imports:package:video_player/video_player.dart
that declares support for platforms:Android
,iOS
,macOS
,Web
.
Package does not support platform `macOS`.
Because:
package:easy_use_camera/easy_use_camera.dart
that imports:package:easy_use_camera/camera/dialog/camera_dialog.dart
that imports:package:camera/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 not compatible with platform Web
Because:
package:easy_use_camera/easy_use_camera.dart
that imports:package:easy_use_camera/camera/preview_video.dart
that imports:package:video_player/video_player.dart
that imports:dart:io
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:easy_use_camera/easy_use_camera.dart
that imports:package:easy_use_camera/camera/preview_video.dart
that imports:package:video_player/video_player.dart
that 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.cn/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 13 issues. Showing the first 2:
INFO: The import of 'package:camera/camera.dart' is unnecessary because all of the used elements are also provided by the import of '../../easy_use_camera.dart'.
lib/camera/dialog/camera_dialog.dart:1:8
╷
1 │ import 'package:camera/camera.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/camera/dialog/camera_dialog.dart
/tmp/pana_EANPKA/lib/camera/dialog/camera_dialog.dart doesn't match the Dart formatter.
To format your files run: dart format .
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
camera |
^0.11.0+2 |
0.11.2 | 0.11.2 | |
camera_platform_interface |
^2.6.0 |
2.11.0 | 2.11.0 | |
chewie |
^1.7.4 |
1.13.0 | 1.13.0 | |
cupertino_icons |
^1.0.6 |
1.0.8 | 1.0.8 | |
ffmpeg_wasm |
any |
1.0.3 | 1.0.3 | |
flutter_image_compress |
^2.1.0 |
2.4.0 | 2.4.0 | |
flutter_svg |
^2.0.9 |
2.2.1 | 2.2.1 | |
image |
^4.1.3 |
4.5.4 | 4.5.4 | |
universal_html |
any |
2.2.4 | 2.2.4 | |
video_player |
^2.8.1 |
2.10.0 | 2.10.0 | |
video_player_web |
^2.1.2 |
2.4.0 | 2.4.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
archive |
- | 4.0.7 | 4.0.7 | |
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.0 | 2.13.0 | |
camera_android_camerax |
- | 0.6.23+1 | 0.6.23+1 | |
camera_avfoundation |
- | 0.9.22+1 | 0.9.22+1 | |
camera_web |
- | 0.3.5 | 0.3.5 | |
characters |
- | 1.4.0 | 1.4.1 | |
charcode |
- | 1.4.0 | 1.4.0 | |
clock |
- | 1.1.2 | 1.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
cross_file |
- | 0.3.4+2 | 0.3.4+2 | |
crypto |
- | 3.0.6 | 3.0.6 | |
csslib |
- | 1.0.2 | 1.0.2 | |
dbus |
- | 0.7.11 | 0.7.11 | |
ffi |
- | 2.1.4 | 2.1.4 | |
flutter_image_compress_common |
- | 1.0.6 | 1.0.6 | |
flutter_image_compress_macos |
- | 1.0.3 | 1.0.3 | |
flutter_image_compress_ohos |
- | 0.0.3 | 0.0.3 | |
flutter_image_compress_platform_interface |
- | 1.0.5 | 1.0.5 | |
flutter_image_compress_web |
- | 0.1.5 | 0.1.5 | |
flutter_plugin_android_lifecycle |
- | 2.0.31 | 2.0.31 | |
html |
- | 0.15.6 | 0.15.6 | |
http |
- | 1.5.0 | 1.5.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
js |
- | 0.7.2 | 0.7.2 | Discontinued |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
nested |
- | 1.0.0 | 1.0.0 | |
package_info_plus |
- | 9.0.0 | 9.0.0 | |
package_info_plus_platform_interface |
- | 3.2.1 | 3.2.1 | |
path |
- | 1.9.1 | 1.9.1 | |
path_parsing |
- | 1.1.0 | 1.1.0 | |
petitparser |
- | 7.0.1 | 7.0.1 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
posix |
- | 6.0.3 | 6.0.3 | |
provider |
- | 6.1.5+1 | 6.1.5+1 | |
source_span |
- | 1.10.1 | 1.10.1 | |
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 | |
universal_io |
- | 2.2.2 | 2.2.2 | |
vector_graphics |
- | 1.1.19 | 1.1.19 | |
vector_graphics_codec |
- | 1.1.13 | 1.1.13 | |
vector_graphics_compiler |
- | 1.1.19 | 1.1.19 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
video_player_android |
- | 2.8.15 | 2.8.15 | |
video_player_avfoundation |
- | 2.8.4 | 2.8.4 | |
video_player_platform_interface |
- | 6.5.0 | 6.5.0 | |
wakelock_plus |
- | 1.4.0 | 1.4.0 | |
wakelock_plus_platform_interface |
- | 1.3.0 | 1.3.0 | |
web |
- | 1.1.1 | 1.1.1 | |
win32 |
- | 5.15.0 | 5.15.0 | |
xml |
- | 6.6.1 | 6.6.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
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 10 errors:
UNDEFINED_METHOD
-lib/camera/util/util.dart:85:31
- The method 'CreateFFmpegParam' isn't defined for the type 'XFile'.NOT_ENOUGH_POSITIONAL_ARGUMENTS
-lib/camera/util/util.dart:85:59
- 2 positional arguments expected by 'createFFmpeg', but 1 found.EXTRA_POSITIONAL_ARGUMENTS
-lib/camera/util/util.dart:86:26
- Too many positional arguments: 0 expected, but 1 found.
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.23
, Flutter 3.35.5
, Dart 3.9.2
.
Check the analysis log for details.