barcode_scan_javalite 1.0.1 copy "barcode_scan_javalite: ^1.0.1" to clipboard
barcode_scan_javalite: ^1.0.1 copied to clipboard

PlatformAndroidiOS
outdated

A flutter plugin for scanning 2D barcodes and QRCodes via camera.

0
likes
120/ 160
pub points
0%
popularity

We analyzed this package 6 days ago, and awarded it 120 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.

failed
Provide documentation
10 / 20trigger folding of the section

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

OUT: Documenting barcode_scan_javalite... Discovering libraries... Linking elements... Precaching local docs for 608647 elements... Initialized dartdoc with 760 libraries Generating docs for library barcode_scan.dart from package:barcode_scan_javalite/barcode_scan.dart... Generating docs for library model/scan_options.dart from package:barcode_scan_javalite/model/scan_options.dart... Generating docs for library model/model.dart from package:barcode_scan_javalite/model/model.dart... Generating docs for library model/scan_result.dart from package:barcode_scan_javalite/model/scan_result.dart... Generating docs for library model/android_options.dart from package:barcode_scan_javalite/model/android_options.dart... [6 more lines] ERR: The warning 'missing-code-block-language' is deprecated. The warning 'missing-code-block-language' is deprecated. The warning 'missing-code-block-language' is deprecated. The warning 'missing-code-block-language' is deprecated. The warning 'missing-code-block-language' is deprecated. The warning 'missing-code-block-language' is deprecated. The warning 'missing-code-block-language' is deprecated. The warning 'missing-code-block-language' is deprecated. The warning 'missing-code-block-language' is deprecated. The warning 'missing-code-block-language' is deprecated. [4907 more lines]

10/10 points: Package has an example

OK
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:barcode_scan_javalite/barcode_scan.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

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

Because:

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

Because:

  • package:barcode_scan_javalite/barcode_scan.dart that declares support for platforms: Android, iOS.
failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 19 issues. Showing the first 2:

WARNING: The operand can't be null, so the condition is always 'true'.

lib/model/android_options.dart:16:32

   ╷
16 │   })  : assert(aspectTolerance != null),
   │                                ^^^^^^^
   ╵

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

WARNING: The operand can't be null, so the condition is always 'true'.

lib/model/android_options.dart:17:29

   ╷
17 │         assert(useAutoFocus != null);
   │                             ^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/model/android_options.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
protobuf ^2.0.0 2.1.0 3.1.0
Transitive dependencies
Package Constraint Compatible Latest
characters - 1.3.0 1.3.0
collection - 1.18.0 1.19.0
fixnum - 1.1.0 1.1.0
material_color_utilities - 0.8.0 0.12.0
meta - 1.12.0 1.15.0
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 `^2.0.0` on protobuf does not support the stable version `3.0.0`.

Try running dart pub upgrade --major-versions protobuf 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.7, Flutter 3.22.2, Dart 3.4.3.

Check the analysis log for details.

0
likes
120
pub points
0%
popularity

Publisher

unverified uploader

A flutter plugin for scanning 2D barcodes and QRCodes via camera.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, protobuf

More

Packages that depend on barcode_scan_javalite