flutter_qr_reader 1.0.3
flutter_qr_reader: ^1.0.3 copied to clipboard

Flutter Android iOS

QR code (scan QRCode and picture) recognition (AndroidView/UiKitView)

28
likes
90 / 110
pub points
91 %
popularity

We analyzed this package on Jan 23, 2021, and awarded it 90 pub points (of a possible 110):

Follow Dart file conventions
20 / 20

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

Provide documentation
20 / 20

10/10 points: Package has an example

  • Found example at: example/lib/main.dart

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

  • 10 out of 50 API elements (20.0 %) have documentation comments.
Support multiple platforms
10 / 20

10/20 points: Supports 2 of 3 possible platforms (iOS, Android, Web)

Found 6 issues. Showing the first 2:

Consider supporting multiple platforms:

Package does not support Flutter platform Web

Because:

  • package:flutter_qr_reader/flutter_qr_reader.dart that declares support for platforms: Android, iOS
Pass static analysis
20 / 30

20/30 points: code has no errors, warnings, lints, or formatting issues

Found 4 issues. Showing the first 2:

INFO: 'List' is deprecated and shouldn't be used.

lib/flutter_qr_reader.dart:114:24

    ╷
114 │         final points = List<Offset>();
    │                        ^^^^^^^^^^^^
    ╵

To reproduce make sure you are using pedantic and run flutter analyze lib/flutter_qr_reader.dart

INFO: 'pickImage' is deprecated and shouldn't be used. Use imagePicker.getImage() method instead..

lib/qrcode_reader_view.dart:111:35

    ╷
111 │     var image = await ImagePicker.pickImage(source: ImageSource.gallery);
    │                                   ^^^^^^^^^
    ╵

To reproduce make sure you are using pedantic and run flutter analyze lib/qrcode_reader_view.dart

Support up-to-date dependencies
20 / 20

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

PackageConstraintCompatibleLatest
image_picker^0.6.0+90.6.7+210.6.7+21
Transitive dependencies
PackageConstraintCompatibleLatest
characters-1.1.0-nullsafety.51.1.0-nullsafety.5
charcode-1.1.31.2.0-nullsafety.3
collection-1.15.0-nullsafety.51.15.0-nullsafety.5
flutter_plugin_android_lifecycle-1.0.111.0.11
http-0.12.20.12.2
http_parser-3.1.43.1.4
image_picker_platform_interface-1.1.11.1.1
meta-1.3.0-nullsafety.61.3.0-nullsafety.6
path-1.7.01.8.0-nullsafety.3
pedantic-1.9.21.9.2
plugin_platform_interface-1.0.31.0.3
source_span-1.7.01.8.0-nullsafety.4
string_scanner-1.0.51.1.0-nullsafety.3
term_glyph-1.1.01.2.0-nullsafety.3
typed_data-1.3.0-nullsafety.51.3.0-nullsafety.5
vector_math-2.1.0-nullsafety.52.1.0-nullsafety.5

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

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

28
likes
90
pub points
91%
popularity

QR code (scan QRCode and picture) recognition (AndroidView/UiKitView)

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

hetian9288@gmail.com

License

MIT (LICENSE)

Dependencies

flutter, image_picker

More

Packages that depend on flutter_qr_reader