flutter_soft_camera 0.1.0 copy "flutter_soft_camera: ^0.1.0" to clipboard
flutter_soft_camera: ^0.1.0 copied to clipboard

This package give you access to some flexible and fully customizable camera widgets.

1
likes
120/ 160
pub points
54
downloads

We analyzed this package 1 hour ago, and awarded it 120 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: MIT.

failed
Provide documentation
0 / 20trigger folding of the section

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

1 out of 12 API elements (8.3 %) 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.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

Some symbols that are missing documentation: flutter_soft_camera, flutter_soft_camera.SoftCamera, flutter_soft_camera.SoftCamera.SoftCamera, flutter_soft_camera.SoftCamera.controller, flutter_soft_camera.SoftCamera.isVideo.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

failed
Platform support
20 / 20trigger folding of the section

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:flutter_soft_camera/flutter_soft_camera.dart that imports:
  • package:camera/camera.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `Linux`.

Because:

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

Because:

  • package:flutter_soft_camera/flutter_soft_camera.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 does not support platform `Web`.

Because:

  • package:flutter_soft_camera/flutter_soft_camera.dart that imports:
  • package:audioplayers/audioplayers.dart that imports:
  • package:audioplayers/src/audio_cache.dart that imports:
  • package:path_provider/path_provider.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:flutter_soft_camera/flutter_soft_camera.dart that imports:
  • package:audioplayers/audioplayers.dart that imports:
  • package:audioplayers/src/source.dart that imports:
  • package:audioplayers/src/audioplayer.dart that imports:
  • package:audioplayers_platform_interface/audioplayers_platform_interface.dart that imports:
  • package:audioplayers_platform_interface/method_channel_audioplayers_platform.dart that imports:
  • package:audioplayers_platform_interface/logger_platform_interface.dart that imports:
  • package:audioplayers_platform_interface/api/audio_context_config.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.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

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

lib/flutter_soft_camera.dart:48:44

   ╷
48 │   Color _cameraOverlayColor = Colors.white.withOpacity(1);
   │                                            ^^^^^^^^^^^
   ╵

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

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

lib/flutter_soft_camera.dart:193:53

    ╷
193 │                               color: _style.primary.withOpacity(.3),
    │                                                     ^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/flutter_soft_camera.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
audioplayers ^1.0.1 1.2.0 6.1.0
camera ^0.10.0 0.10.6 0.11.0+2
flutter flutter 0.0.0 0.0.0
Transitive dependencies
Package Constraint Compatible Latest
async - 2.12.0 2.12.0
audioplayers_android - 1.1.3 5.0.0
audioplayers_darwin - 1.0.4 6.0.0
audioplayers_linux - 1.0.2 4.0.0
audioplayers_platform_interface - 2.1.0 7.0.0
audioplayers_web - 2.1.0 5.0.1
audioplayers_windows - 1.1.1 4.0.0
camera_android - 0.10.9+17 0.10.9+17
camera_avfoundation - 0.9.17+6 0.9.17+6
camera_platform_interface - 2.9.0 2.9.0
camera_web - 0.3.5 0.3.5
characters - 1.3.0 1.4.0
collection - 1.19.0 1.19.1
cross_file - 0.3.4+2 0.3.4+2
crypto - 3.0.6 3.0.6
ffi - 2.1.3 2.1.3
flutter_plugin_android_lifecycle - 2.0.24 2.0.24
flutter_web_plugins - 0.0.0 0.0.0
http - 0.13.6 1.2.2
http_parser - 4.1.2 4.1.2
js - 0.6.7 0.7.1
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
path - 1.9.1 1.9.1
path_provider - 2.1.5 2.1.5
path_provider_android - 2.2.15 2.2.15
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
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
sky_engine - 0.0.0 0.0.0
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
uuid - 3.0.7 4.5.1
vector_math - 2.1.4 2.1.4
web - 1.1.0 1.1.0
xdg_directories - 1.1.0 1.1.0

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

The constraint `^1.0.1` on audioplayers does not support the stable version `2.0.0`.

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

The constraint `^0.10.0` on camera does not support the stable version `0.11.0`.

Try running dart pub upgrade --major-versions camera 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.17, Flutter 3.27.1, Dart 3.6.0.

Check the analysis log for details.

1
likes
120
points
54
downloads

Publisher

verified publisheraboubak.art

Weekly Downloads

This package give you access to some flexible and fully customizable camera widgets.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

audioplayers, camera, flutter

More

Packages that depend on flutter_soft_camera