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

PlatformAndroid

Plugins to manage the reading of QR code or barcode from an external device as a keyboard.

7
likes
140/ 160
pub points
85%
popularity

We analyzed this package 4 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: MIT.

OK
Provide documentation
20 / 20trigger folding of the section

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

18 out of 26 API elements (69.2 %) have documentation comments.

Some symbols that are missing documentation: delayed_action_handler, qrcode_barcode_scanner, qrcode_barcode_scanner.QrcodeBarcodeScanner.getPlatformVersion, qrcode_barcode_scanner_method_channel, qrcode_barcode_scanner_method_channel.MethodChannelQrcodeBarcodeScanner.getPlatformVersion.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

These platforms are not supported:

Package does not support platform `iOS`.

Because:

  • package:qrcode_barcode_scanner/qrcode_barcode_scanner.dart that declares support for platforms: Android.
Package does not support platform `Windows`.

Because:

  • package:qrcode_barcode_scanner/qrcode_barcode_scanner.dart that declares support for platforms: Android.
Package does not support platform `Linux`.

Because:

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

Because:

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

Because:

  • package:qrcode_barcode_scanner/qrcode_barcode_scanner.dart that declares support for platforms: Android.

0/0 points: WASM compatibility

This package is compatible with runtime wasm, and will be rewarded additional 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 10 issues. Showing the first 2:

INFO: 'RawKeyEvent' is deprecated and shouldn't be used. Use KeyEvent instead. This feature was deprecated after v3.18.0-2.0.pre.

lib/qrcode_barcode_scanner.dart:99:30

   ╷
99 │   /// Returns `true` if the [RawKeyEvent] is a key down event.
   │                              ^^^^^^^^^^^
   ╵

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

INFO: 'RawKeyEvent' is deprecated and shouldn't be used. Use KeyEvent instead. This feature was deprecated after v3.18.0-2.0.pre.

lib/qrcode_barcode_scanner.dart:102:18

    ╷
102 │   bool isKeyDown(RawKeyEvent event) => event is RawKeyDownEvent;
    │                  ^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/qrcode_barcode_scanner.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
flutter flutter 0.0.0 0.0.0
flutter_keyboard_visibility ^5.4.1 5.4.1 6.0.0
flutter_localizations flutter 0.0.0 0.0.0
plugin_platform_interface ^2.1.5 2.1.8 2.1.8
Transitive dependencies
Package Constraint Compatible Latest
characters - 1.3.0 1.3.1
clock - 1.1.1 1.1.2
collection - 1.18.0 1.19.1
flutter_keyboard_visibility_linux - 1.0.0 1.0.0
flutter_keyboard_visibility_macos - 1.0.0 1.0.0
flutter_keyboard_visibility_platform_interface - 2.0.0 2.0.0
flutter_keyboard_visibility_web - 2.0.0 2.0.0
flutter_keyboard_visibility_windows - 1.0.0 1.0.0
flutter_web_plugins - 0.0.0 0.0.0
intl - 0.19.0 0.20.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
path - 1.9.0 1.9.1
sky_engine - 0.0.99 0.0.99
vector_math - 2.1.4 2.1.4

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

The constraint `^5.4.1` on flutter_keyboard_visibility does not support the stable version `6.0.0`.

Try running dart pub upgrade --major-versions flutter_keyboard_visibility 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.15, Flutter 3.24.4, Dart 3.5.4.

Check the analysis log for details.

7
likes
140
pub points
85%
popularity

Publisher

verified publisherfrancescodema.dev

Plugins to manage the reading of QR code or barcode from an external device as a keyboard.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_keyboard_visibility, flutter_localizations, plugin_platform_interface

More

Packages that depend on qrcode_barcode_scanner