camera_normal 1.3.1+1 copy "camera_normal: ^1.3.1+1" to clipboard
camera_normal: ^1.3.1+1 copied to clipboard

Integrates functions such as camera, photos from gallery, QR scanning

2
likes
110/ 140
pub points
49%
popularity

We analyzed this package 2 hours ago, and awarded it 110 pub points (of a possible 140):

partial
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/tranduc1710/camera_normal/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: BSD-3-Clause.

partial
Provide documentation
10 / 20trigger folding of the section

0/10 points: 20% or more of the public API has dartdoc comments

6 out of 69 API elements (8.7 %) 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.

Some symbols that are missing documentation: camera_normal, camera_normal.CameraCustom, camera_normal.CameraCustom.CameraCustom, camera_normal.CameraCustom.builder, camera_normal.CameraCustom.cameraView.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 2 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android
  • ✓ iOS

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:camera_normal/camera_custom.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

  • package:camera_normal/camera_custom.dart that declares support for platforms: Android, iOS.
Package does not support platform `macOS`.

Because:

  • package:camera_normal/camera_custom.dart that declares support for platforms: Android, iOS.
Package does not support platform `Web`.

Because:

  • package:camera_normal/camera_custom.dart that declares support for platforms: Android, iOS.
failed
Pass static analysis
30 / 50trigger folding of the section

30/50 points: code has no errors, warnings, lints, or formatting issues

Found 25 issues. Showing the first 2:

WARNING: This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: CameraView.startImageStream

lib/components/camera_view.dart:3:7

  ╷
3 │ class CameraView extends StatefulWidget {
  │       ^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/components/camera_view.dart

WARNING: This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: CameraNormal.language

lib/src/camera_normal.dart:3:7

  ╷
3 │ class CameraNormal extends StatefulWidget {
  │       ^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/camera_normal.dart

OK
Support up-to-date dependencies
20 / 20trigger folding of the section

10/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
camera ^0.10.5+9 0.10.5+9 0.10.5+9
cupertino_icons ^1.0.6 1.0.8 1.0.8
flutter flutter 0.0.0 0.0.0
google_mlkit_barcode_scanning ^0.10.0 0.10.0 0.12.0
image ^4.1.7 4.1.7 4.1.7
path_provider ^2.1.2 2.1.3 2.1.3
photo_manager ^3.0.0 3.1.0 3.1.0
synchronized ^3.1.0+1 3.1.0+1 3.1.0+1
video_player ^2.8.3 2.8.6 2.8.6
Transitive dependencies
Package Constraint Compatible Latest
archive - 3.5.0 3.5.0
camera_android - 0.10.9+1 0.10.9+1
camera_avfoundation - 0.9.16 0.9.16
camera_platform_interface - 2.7.4 2.7.4
camera_web - 0.3.3 0.3.3
characters - 1.3.0 1.3.0
collection - 1.18.0 1.18.0
cross_file - 0.3.4+1 0.3.4+1
crypto - 3.0.3 3.0.3
csslib - 1.0.0 1.0.0
ffi - 2.1.2 2.1.2
flutter_plugin_android_lifecycle - 2.0.19 2.0.19
flutter_web_plugins - 0.0.0 0.0.0
google_mlkit_commons - 0.6.1 0.7.1
html - 0.15.4 0.15.4
material_color_utilities - 0.8.0 0.11.1
meta - 1.11.0 1.14.0
path - 1.9.0 1.9.0
path_provider_android - 2.2.4 2.2.4
path_provider_foundation - 2.3.2 2.3.2
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.2.1 2.2.1
petitparser - 6.0.2 6.0.2
platform - 3.1.4 3.1.4
plugin_platform_interface - 2.1.8 2.1.8
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
stream_transform - 2.1.0 2.1.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
vector_math - 2.1.4 2.1.4
video_player_android - 2.4.14 2.4.14
video_player_avfoundation - 2.5.7 2.5.7
video_player_platform_interface - 6.2.2 6.2.2
video_player_web - 2.3.0 2.3.0
web - 0.5.1 0.5.1
win32 - 5.5.0 5.5.0
xdg_directories - 1.0.4 1.0.4
xml - 6.5.0 6.5.0

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^0.10.0` on google_mlkit_barcode_scanning does not support the stable version `0.11.0`, that was published 9 days ago.

When google_mlkit_barcode_scanning is 30 days old, this package will no longer be awarded points in this category.

Try running dart pub upgrade --major-versions google_mlkit_barcode_scanning to update the constraint.

10/10 points: Package supports latest stable Dart and Flutter SDKs

Analyzed with Pana 0.22.3, Flutter 3.19.6, Dart 3.3.4.

Check the analysis log for details.

2
likes
110
pub points
49%
popularity

Publisher

verified publishertranduc1710.com

Integrates functions such as camera, photos from gallery, QR scanning

Repository (GitHub)
View/report issues

Topics

#camera #qr

Documentation

API reference

Funding

Consider supporting this project:

github.com

License

BSD-3-Clause (LICENSE)

Dependencies

camera, cupertino_icons, flutter, google_mlkit_barcode_scanning, image, path_provider, photo_manager, synchronized, video_player

More

Packages that depend on camera_normal