mobile_scanner 7.3.0 copy "mobile_scanner: ^7.3.0" to clipboard
mobile_scanner: ^7.3.0 copied to clipboard

A universal Flutter barcode and QR code scanner using CameraX/ML Kit for Android, AVFoundation/Apple Vision for iOS & macOS, and ZXing for web.

140/ 160
pub points
1.18M
downloads

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

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

332 out of 334 API elements (99.4 %) have documentation comments.

Some symbols that are missing documentation: mobile_scanner, mobile_scanner.ScanWindowUtils.ScanWindowUtils.new.

Passed check 10/10 points: Package has an example and has no issues with screenshots

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 4 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ macOS

  • ✓ Web

These platforms are not supported:

Package does not support platform `Windows`.

Because:

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

Because:

  • package:mobile_scanner/mobile_scanner.dart that declares support for platforms: Android, iOS, macOS, Web.

WASM-ready: This package is compatible with runtime wasm. See https://dart.dev/web/wasm for details.

Swift PM-ready: This iOS or macOS plugin supports the Swift Package Manager. See https://docs.flutter.dev/to/spm for details.

Built-in Kotlin support:

Legacy Kotlin configuration detected in `android/build.gradle`.

This plugin applies the Kotlin Gradle Plugin (KGP) or uses the android.kotlinOptions{} block.

Note: This Android plugin does not support built-in Kotlin. In the future, this might affect scoring. See https://docs.flutter.dev/release/breaking-changes/migrate-to-built-in-kotlin/for-plugin-authors for details.

Passed report section
Pass static analysis
50 / 50trigger folding of the section

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

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

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

Package Constraint Compatible Latest Notes
collection >=1.15.0 <2.0.0 1.19.1 1.19.1
meta >=1.16.0 <2.0.0 1.18.0 1.19.0
plugin_platform_interface ^2.0.2 2.1.8 2.1.8
web >=0.5.1 <2.0.0 1.1.1 1.1.1
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.1 1.4.1
material_color_utilities - 0.13.0 0.13.0
vector_math - 2.2.0 2.4.2

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

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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 7 errors:

  • UNDEFINED_GETTER - lib/src/web/mobile_scanner_web.dart:165:31 - The getter 'focusMode' isn't defined for the type 'MediaTrackCapabilities'.
  • UNDEFINED_SETTER - lib/src/web/mobile_scanner_web.dart:167:21 - The setter 'focusMode' isn't defined for the type 'MediaTrackConstraints'.
  • UNDEFINED_SETTER - lib/src/web/mobile_scanner_web.dart:170:21 - The setter 'focusMode' isn't defined for the type 'MediaTrackConstraints'.

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.23.15, Flutter 3.44.7, Dart 3.12.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
2.29k
likes
140
points
1.18M
downloads
screenshot

Documentation

API reference

Publisher

verified publishersteenbakker.dev

Weekly Downloads

A universal Flutter barcode and QR code scanner using CameraX/ML Kit for Android, AVFoundation/Apple Vision for iOS & macOS, and ZXing for web.

Repository (GitHub)
View/report issues
Contributing

License

BSD-3-Clause (license)

Dependencies

collection, flutter, flutter_web_plugins, meta, plugin_platform_interface, web

More

Packages that depend on mobile_scanner

Packages that implement mobile_scanner