qr_bar_code_scanner_dialog 0.0.5 copy "qr_bar_code_scanner_dialog: ^0.0.5" to clipboard
qr_bar_code_scanner_dialog: ^0.0.5 copied to clipboard

Plugin to show a simple scanner dialog and capture Bar/QR code easily. Works with Android iOS and Web. It uses html5-qrcode scanner for web and qr_code_scanner for Android and iOS

41
likes
150/ 160
pub points
1.37k
downloads

We analyzed this package 4 days ago, and awarded it 150 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: Apache-2.0.

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

8 out of 27 API elements (29.6 %) have documentation comments.

Some symbols that are missing documentation: qr_bar_code_scanner_dialog, qr_bar_code_scanner_dialog.QrBarCodeScannerDialog, qr_bar_code_scanner_dialog.QrBarCodeScannerDialog.QrBarCodeScannerDialog.new, qr_bar_code_scanner_dialog.QrBarCodeScannerDialog.getPlatformVersion, qr_bar_code_scanner_dialog.QrBarCodeScannerDialog.getScannedQrBarCode.

Passed check 10/10 points: Package has an example

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

Passed check 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:qr_bar_code_scanner_dialog/qr_bar_code_scanner_dialog.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `Linux`.

Because:

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

Because:

  • package:qr_bar_code_scanner_dialog/qr_bar_code_scanner_dialog.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:qr_bar_code_scanner_dialog/qr_bar_code_scanner_dialog.dart that imports:
  • package:qr_bar_code_scanner_dialog/qr_bar_code_scanner_dialog_platform_interface.dart that imports:
  • package:qr_bar_code_scanner_dialog/qr_bar_code_scanner_dialog_method_channel.dart that imports:
  • package:qr_code_scanner/qr_code_scanner.dart that declares support for platforms: Android, iOS.

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:qr_bar_code_scanner_dialog/qr_bar_code_scanner_dialog.dart that imports:
  • package:qr_bar_code_scanner_dialog/qr_bar_code_scanner_dialog_platform_interface.dart that imports:
  • package:qr_bar_code_scanner_dialog/qr_bar_code_scanner_dialog_method_channel.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.

Failed check 0/0 points: Swift Package Manager support

Package does not support the Swift Package Manager on iOS

It does not contain ios/qr_bar_code_scanner_dialog/Package.swift.

This package for iOS or macOS does not support the Swift Package Manager. It will not receive full points in a future version of the scoring model.

See https://docs.flutter.dev/to/spm for details.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

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

INFO: 'dart:html' is deprecated and shouldn't be used. Use package:web and dart:js_interop instead.

lib/qr_bar_code_scanner_dialog_web.dart:5:1

5 │ ┌ import 'dart:html' as html
6 │ └     show window, Element, ScriptElement, StyleElement, querySelector, Text;
  ╵
copied to clipboard

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

INFO: 'dart:js' is deprecated and shouldn't be used. Use dart:js_interop instead.

lib/qr_bar_code_scanner_dialog_web.dart:12:1

12import 'dart:js' as js;
   │ ^^^^^^^^^^^^^^^^^^^^^^^
   ╵
copied to clipboard

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

Passed report section
Support up-to-date dependencies
40 / 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
plugin_platform_interface ^2.1.2 2.1.8 2.1.8
qr_code_scanner ^1.0.1 1.0.1 1.0.1
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.0
collection - 1.19.1 1.19.1
js - 0.6.7 0.7.2 Discontinued
material_color_utilities - 0.11.1 0.12.0
meta - 1.16.0 1.16.0
vector_math - 2.1.4 2.1.4

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.20, Flutter 3.29.2, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
Jul 6Aug 3Aug 31Sep 28Oct 26Nov 23Dec 21Jan 18Feb 15Mar 1501002003004005006007008009001k>=0.0.0-0 <1.0.0
41
likes
150
points
1.37k
downloads

Publisher

unverified uploader

Weekly Downloads

2024.09.21 - 2025.04.05

Plugin to show a simple scanner dialog and capture Bar/QR code easily. Works with Android iOS and Web. It uses html5-qrcode scanner for web and qr_code_scanner for Android and iOS

Repository (GitHub)

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

flutter, flutter_web_plugins, plugin_platform_interface, qr_code_scanner

More

Packages that depend on qr_bar_code_scanner_dialog