camera_360 1.0.9 copy "camera_360: ^1.0.9" to clipboard
camera_360: ^1.0.9 copied to clipboard

This plugin allows the users to take 360 Panoramic Images using the phone's Camera. It uses OpenCV to stitch the images together.

16
likes
140/ 160
pub points
69%
popularity

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

OK
Follow Dart file conventions
30 / 30trigger 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: Apache-2.0.

OK
Provide documentation
20 / 20trigger folding of the section

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

29 out of 76 API elements (38.2 %) have documentation comments.

Some symbols that are missing documentation: camera_360, camera_360.Camera360, camera_360.Camera360.Camera360, camera_360_bindings_generated, camera_selector.

10/10 points: Package has an example

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

Because:

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

Because:

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

Because:

  • package:camera_360/camera_360.dart that declares support for platforms: Android, iOS.

These issues are present but do not affect the score, because they may not originate in your package:

Package does not support platform `Android`.

Because:

  • package:camera_360/camera_360.dart that imports:
  • package:wakelock_plus/wakelock_plus.dart that imports:
  • package:wakelock_plus/src/wakelock_plus_io_plugin.dart that imports:
  • package:wakelock_plus/src/wakelock_plus_windows_plugin.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:camera_360/camera_360.dart that imports:
  • package:wakelock_plus/wakelock_plus.dart that imports:
  • package:wakelock_plus/src/wakelock_plus_io_plugin.dart that imports:
  • package:wakelock_plus/src/wakelock_plus_windows_plugin.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:camera_360/camera_360.dart that imports:
  • package:camera_360/camera_360_bindings_generated.dart that imports:
  • dart:ffi

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.

partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 7 issues. Showing the first 2:

INFO: 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss.

lib/camera_360.dart:873:30

    ╷
873 │               ? Colors.white.withOpacity(0.7)
    │                              ^^^^^^^^^^^
    ╵

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

INFO: 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss.

lib/layouts/camera_selector.dart:111:49

    ╷
111 │                             color: Colors.black.withOpacity(0.8),
    │                                                 ^^^^^^^^^^^
    ╵

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

failed
Support up-to-date dependencies
30 / 40trigger 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.5+5 0.10.6 0.11.0+2
dchs_motion_sensors ^1.0.2 1.1.0 2.0.0
ffi ^2.0.1 2.1.3 2.1.3
flutter flutter 0.0.0 0.0.0
flutter_native_image ^0.0.6 0.0.6+1 0.0.6+1
image_picker ^1.0.4 1.1.2 1.1.2
path_provider ^2.1.0 2.1.5 2.1.5
plugin_platform_interface ^2.0.2 2.1.8 2.1.8
shared_preferences ^2.2.2 2.3.3 2.3.3
vector_math ^2.1.4 2.1.4 2.1.4
wakelock_plus ^1.1.1 1.2.8 1.2.8
Transitive dependencies
Package Constraint Compatible Latest
args - 2.6.0 2.6.0
async - 2.12.0 2.12.0
camera_android - 0.10.9+17 0.10.9+17
camera_avfoundation - 0.9.17+5 0.9.17+5
camera_platform_interface - 2.8.0 2.8.0
camera_web - 0.3.5 0.3.5
characters - 1.3.0 1.3.1
clock - 1.1.2 1.1.2
collection - 1.19.0 1.19.1
cross_file - 0.3.4+2 0.3.4+2
dbus - 0.7.10 0.7.10
file - 7.0.1 7.0.1
file_selector_linux - 0.9.3+2 0.9.3+2
file_selector_macos - 0.9.4+2 0.9.4+2
file_selector_platform_interface - 2.6.2 2.6.2
file_selector_windows - 0.9.3+3 0.9.3+3
flutter_plugin_android_lifecycle - 2.0.23 2.0.23
flutter_web_plugins - 0.0.0 0.0.0
http - 1.2.2 1.2.2
http_parser - 4.1.1 4.1.1
image_picker_android - 0.8.12+18 0.8.12+18
image_picker_for_web - 3.0.6 3.0.6
image_picker_ios - 0.8.12+1 0.8.12+1
image_picker_linux - 0.2.1+1 0.2.1+1
image_picker_macos - 0.2.1+1 0.2.1+1
image_picker_platform_interface - 2.10.0 2.10.0
image_picker_windows - 0.2.1+1 0.2.1+1
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
mime - 2.0.0 2.0.0
package_info_plus - 8.1.1 8.1.1
package_info_plus_platform_interface - 3.0.1 3.0.1
path - 1.9.1 1.9.1
path_provider_android - 2.2.14 2.2.14
path_provider_foundation - 2.4.1 2.4.1
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
petitparser - 6.0.2 6.0.2
platform - 3.1.6 3.1.6
shared_preferences_android - 2.3.4 2.3.4
shared_preferences_foundation - 2.5.3 2.5.3
shared_preferences_linux - 2.4.1 2.4.1
shared_preferences_platform_interface - 2.4.1 2.4.1
shared_preferences_web - 2.4.2 2.4.2
shared_preferences_windows - 2.4.1 2.4.1
sky_engine - 0.0.0 0.0.0
source_span - 1.10.0 1.10.0
stream_transform - 2.1.0 2.1.0
string_scanner - 1.4.0 1.4.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.4.0 1.4.0
wakelock_plus_platform_interface - 1.2.1 1.2.1
web - 1.1.0 1.1.0
win32 - 5.9.0 5.9.0
xdg_directories - 1.1.0 1.1.0
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.5+5` on camera does not support the stable version `0.11.0`.

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

The constraint `^1.0.2` on dchs_motion_sensors does not support the stable version `2.0.0`.

Try running dart pub upgrade --major-versions dchs_motion_sensors 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.22.16, Flutter 3.27.0-0.2.pre, Dart 3.6.0-334.4.beta.

Check the analysis log for details.

16
likes
140
pub points
69%
popularity

Publisher

verified publishermax.al

This plugin allows the users to take 360 Panoramic Images using the phone's Camera. It uses OpenCV to stitch the images together.

Repository (GitHub)
View/report issues

Topics

#camera #panorama

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

camera, dchs_motion_sensors, ffi, flutter, flutter_native_image, image_picker, path_provider, plugin_platform_interface, shared_preferences, vector_math, wakelock_plus

More

Packages that depend on camera_360