camera_picker 1.1.0 copy "camera_picker: ^1.1.0" to clipboard
camera_picker: ^1.1.0 copied to clipboard

Flutter camera picker to take multiple images with live preview

5
likes
90/ 160
pub points
62%
popularity

We analyzed this package 14 hours ago, and awarded it 90 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: BSD-2-Clause.

OK
Provide documentation
20 / 20trigger folding of the section

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

47 out of 49 API elements (95.9 %) have documentation comments.

Some symbols that are missing documentation: camera_picker, camera_picker.ImagePreview.file.

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

Because:

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

Because:

  • package:camera_picker/camera_picker.dart that imports:
  • package:camera_picker/src/picker_store.dart that imports:
  • package:camera/camera.dart that declares support for platforms: Android, iOS, Web.
Package not compatible with platform Web

Because:

  • package:camera_picker/camera_picker.dart that imports:
  • package:camera_picker/src/picker_store.dart that imports:
  • dart:io

0/0 points: WASM compatibility

Unable to detect compatibility with runtime wasm, and this package will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

failed
Pass static analysis
0 / 50trigger folding of the section

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

Found 3 issues. Showing the first 2:

ERROR: The getter 'errorColor' isn't defined for the type 'ThemeData'.

lib/camera_picker.dart:107:71

    ╷
107 │                             style: TextStyle(color: Theme.of(context).errorColor),
    │                                                                       ^^^^^^^^^^
    ╵

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

INFO: 'WillPopScope' is deprecated and shouldn't be used. Use PopScope instead. This feature was deprecated after v3.12.0-1.0.pre.

lib/camera_picker.dart:130:24

    ╷
130 │                 return WillPopScope(
    │                        ^^^^^^^^^^^^
    ╵

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

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

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

Package Constraint Compatible Latest
camera >=0.9.8 <1.0.0 0.11.0+2 0.11.0+2
collection >=1.15.0 <2.0.0 1.18.0 1.19.0
cross_file >=0.3.3 <1.0.0 0.3.4+2 0.3.4+2
flutter flutter 0.0.0 0.0.0
flutter_hooks >=0.18.2 <1.0.0 0.20.5 0.20.5
Transitive dependencies
Package Constraint Compatible Latest
async - 2.12.0 2.12.0
camera_android_camerax - 0.6.10 0.6.10
camera_avfoundation - 0.9.17+4 0.9.17+4
camera_platform_interface - 2.8.0 2.8.0
camera_web - 0.3.5 0.3.5
characters - 1.3.0 1.3.1
flutter_plugin_android_lifecycle - 2.0.23 2.0.23
flutter_web_plugins - 0.0.0 0.0.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
plugin_platform_interface - 2.1.8 2.1.8
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 - 1.1.0 1.1.0

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

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

0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 1 error:

  • UNDEFINED_GETTER - lib/camera_picker.dart:107:71 - The getter 'errorColor' isn't defined for the type 'ThemeData'.

Run flutter pub downgrade and then flutter analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.22.13, Flutter 3.24.3, Dart 3.5.3.

Check the analysis log for details.

5
likes
90
pub points
62%
popularity

Publisher

unverified uploader

Flutter camera picker to take multiple images with live preview

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-2-Clause (license)

Dependencies

camera, collection, cross_file, flutter, flutter_hooks

More

Packages that depend on camera_picker