penguin_camera 0.0.2 icon indicating copy to clipboard operation
penguin_camera: ^0.0.2 copied to clipboard

Provides a platform-agnostic interface for accessing cameras camera features.

3
likes
100/ 140
pub points
0%
popularity

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

icon indicating section status
Follow Dart file conventions
30 / 30icon to trigger folding of the section

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.

icon indicating section status
Provide documentation
20 / 20icon to trigger folding of the section

10/10 points: Package has an example

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

  • 234 out of 255 API elements (91.8 %) have documentation comments.
icon indicating section status
Platform support
0 / 20icon to trigger folding of the section

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

These platforms are not supported:

Package does not support platform `Android`.

Because:

  • package:penguin_camera/penguin_camera.dart that imports:
  • package:penguin_camera/src/platform_interface.dart that imports:
  • package:penguin_camera/src/ios/av_foundation.dart that imports:
  • package:av_foundation/av_foundation.dart that declares support for platforms: iOS.
Package does not support platform `iOS`.

Because:

  • package:penguin_camera/penguin_camera.dart that imports:
  • package:penguin_camera/src/platform_interface.dart that imports:
  • package:penguin_camera/src/android/camera1.dart that imports:
  • package:android_hardware/android_hardware.dart that declares support for platforms: Android.
Package does not support platform `Windows`.

Because:

  • package:penguin_camera/penguin_camera.dart that imports:
  • package:penguin_camera/src/platform_interface.dart that imports:
  • package:penguin_camera/src/ios/av_foundation.dart that imports:
  • package:av_foundation/av_foundation.dart that declares support for platforms: iOS.
Package does not support platform `Linux`.

Because:

  • package:penguin_camera/penguin_camera.dart that imports:
  • package:penguin_camera/src/platform_interface.dart that imports:
  • package:penguin_camera/src/ios/av_foundation.dart that imports:
  • package:av_foundation/av_foundation.dart that declares support for platforms: iOS.
Package does not support platform `macOS`.

Because:

  • package:penguin_camera/penguin_camera.dart that imports:
  • package:penguin_camera/src/platform_interface.dart that imports:
  • package:penguin_camera/src/ios/av_foundation.dart that imports:
  • package:av_foundation/av_foundation.dart that declares support for platforms: iOS.
Package does not support platform `Web`.

Because:

  • package:penguin_camera/penguin_camera.dart that imports:
  • package:penguin_camera/src/platform_interface.dart that imports:
  • package:penguin_camera/src/ios/av_foundation.dart that imports:
  • package:av_foundation/av_foundation.dart that declares support for platforms: iOS.
icon indicating section status
Pass static analysis
20 / 30icon to trigger folding of the section

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

Found 4 issues. Showing the first 2:

INFO: This function has a nullable return type of 'FutureOr

lib/src/ios/av_foundation.dart:357:17

    ╷
357 │   Future<Size?> outputSize() async {
    │                 ^^^^^^^^^^
    ╵

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

INFO: This function has a nullable return type of 'FutureOr

lib/src/ios/av_foundation.dart:514:17

    ╷
514 │   Future<Size?> outputSize() async {
    │                 ^^^^^^^^^^
    ╵

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

icon indicating section status
Support up-to-date dependencies
10 / 20icon to trigger folding of the section

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

PackageConstraintCompatibleLatest
android_hardware^0.0.10.0.10.0.1
android_media^0.0.10.0.10.0.1
av_foundation^0.0.10.0.10.0.1
collection^1.15.01.17.01.17.1
flutterflutter0.0.00.0.0
flutter_lints^1.0.01.0.42.0.1
plugin_platform_interface^2.0.02.1.32.1.3
Transitive dependencies
PackageConstraintCompatibleLatest
characters-1.2.11.2.1
ffi-1.2.12.0.1
js-0.6.50.6.7
lints-1.0.12.0.1
material_color_utilities-0.2.00.2.0
meta-1.8.01.9.0
reference-0.4.3+10.4.3+1
sky_engine-0.0.990.0.99
vector_math-2.1.42.1.4

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

The constraint `^1.0.0` on flutter_lints does not support the stable version `2.0.0`.

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

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

icon indicating section status
Support sound null safety
20 / 20icon to trigger folding of the section

20/20 points: Package and dependencies are fully migrated to null safety!

Analysed with Pana 0.21.25, Flutter 3.7.0, Dart 2.19.0.

3
likes
100
pub points
0%
popularity

Publisher

unverified uploader

Provides a platform-agnostic interface for accessing cameras camera features.

Repository (GitHub)

Documentation

API reference

License

Icon for licenses.MIT (LICENSE)

Dependencies

android_hardware, android_media, av_foundation, collection, flutter, flutter_lints, plugin_platform_interface

More

Packages that depend on penguin_camera