builk_camera 0.0.4 copy "builk_camera: ^0.0.4" to clipboard
builk_camera: ^0.0.4 copied to clipboard

Camera widget ios and Android

1
likes
80/ 140
pub points
0%
popularity

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

failed
Follow Dart file conventions
10 / 30trigger folding of the section

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 60 to 180 characters to describe the package, what it does, and its target use case.

* `pubspec.yaml` doesn't have a `homepage` entry. * `pubspec.yaml` doesn't have a `repository` entry.

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

0/10 points: Use an OSI-approved license

No license was recognized.

Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.

partial
Provide documentation
10 / 20trigger folding of the section

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

2 out of 48 API elements (4.2 %) 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: builk_camera, builk_camera.CameraView, builk_camera.CameraView.CameraView, builk_camera.CameraView.controller, camera_view_controller.

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:builk_camera/controller/camera_view_controller.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

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

Because:

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

Because:

  • package:builk_camera/controller/camera_view_controller.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 4 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.controller

lib/widget/builk_camera.dart:9:7

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

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

lib/controller/camera_view_controller.dart doesn't match the Dart formatter.

To format your files run: dart format .

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

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

Package Constraint Compatible Latest
camera ^0.10.3 0.10.6 0.11.0+1
flutter flutter 0.0.0 0.0.0
flutter_image_compress ^1.1.3 1.1.3 2.3.0
native_device_orientation ^1.1.4 1.2.1 2.0.3
plugin_platform_interface ^2.0.2 2.1.8 2.1.8
Transitive dependencies
Package Constraint Compatible Latest
camera_android - 0.10.9+3 0.10.9+3
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
flutter_plugin_android_lifecycle - 2.0.20 2.0.20
flutter_web_plugins - 0.0.0 0.0.0
material_color_utilities - 0.8.0 0.11.1
meta - 1.12.0 1.15.0
sky_engine - 0.0.99 0.0.99
stream_transform - 2.1.0 2.1.0
vector_math - 2.1.4 2.1.4
web - 0.5.1 0.5.1

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

Found 3 issues. Showing the first 2:

The constraint `^0.10.3` on camera does not support the stable version `0.11.0`, that was published 17 days ago.

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

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

The constraint `^1.1.3` on flutter_image_compress does not support the stable version `2.0.0`.

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

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

Analyzed with Pana 0.22.3, Flutter 3.22.1, Dart 3.4.1.

Check the analysis log for details.