barcode_scan_javalite 1.0.1
barcode_scan_javalite: ^1.0.1 copied to clipboard

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

0
likes
100/ 130
pub points
22%
popularity

We analyzed this package on Oct 22, 2021, and awarded it 100 pub points (of a possible 130):

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
10 / 20

10/10 points: Package has an example

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

0/10 points: Failed to run dartdoc

  • dartdoc failed with:
exitCode: 255
stdout: [2021-10-23T11:06:21.964123] Starting...
Documenting barcode_scan_javalite...
Initialized dartdoc with 185 libraries in 89.3 seconds
Generating docs for library platform_wrapper from package:barcode_scan_javalite/platform_wrapper.dart...
Generating docs for library protos.pbserver from package:barcode_scan_javalite/gen/protos/protos.pbserver.dart...
Generating docs for library protos.pbjson from package:barcode_scan_javalite/gen/protos/protos.pbjson.dart...
Generating docs for library protos.pbenum from package:barcode_scan_javalite/gen/protos/protos.pbenum.dart...
Generating docs for library protos.pb from package:barcode_scan_javalite/gen/protos/protos.pb.dart...
Generating docs for library mintware.barcode_scan from package:barcode_scan_javalite/barcode_scan.dart...
Generating docs for library scan_options from package:barcode_scan_javalite/model/scan_options.dart...
Generating docs for library android_options from package:barcode_scan_javalite/model/android_options.dart...
Generating docs for library scan_result from package:barcode_scan_javalite/model/scan_result.dart...
Generating docs for library mintware.barcode_scan from package:barcode_scan_javalite/model/model.dart...
Documented 10 public libraries in 0.9 seconds

stderr:   warning: mintware.barcode_scan has no library level documentation comments
    from mintware.barcode_scan: (file:///tmp/pub-dartlang-dartdocVHSDBL/pkg/lib/barcode_scan.dart:1:9)
  warning: mintware.barcode_scan has no library level documentation comments
    from mintware.barcode_scan: (file:///tmp/pub-dartlang-dartdocVHSDBL/pkg/lib/model/model.dart:1:9)
  error: failed to write file at: mintware.barcode_scan/mintware.barcode_scan-library.html
    for symbol mintware.barcode_scan: (file:///tmp/pub-dartlang-dartdocVHSDBL/pkg/lib/model/model.dart:1:9)
    conflicting with file already generated by mintware.barcode_scan: (file:///tmp/pub-dartlang-dartdocVHSDBL/pkg/lib/barcode_scan.dart:1:9)
            Dartdoc generates a path and filename to write to for each symbol.
            mintware.barcode_scan conflicts with another symbol in the generated path, and
            therefore can not be written out.  Changing the name, library name, or
            class name (if appropriate) of one of the conflicting items can resolve
            the conflict.   Alternatively, use the @nodoc tag in one symbol's
            documentation comments to hide it.
Found 2 warnings and 1 error.
Unhandled exception:
encountered 1 errors
#0      Dartdoc.generateDocs (package:dartdoc/dartdoc.dart:241:9)
<asynchronous suspension>
#1      main (file:///project/pkg/pub_dartdoc/bin/pub_dartdoc.dart:33:19)
<asynchronous suspension>


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:barcode_scan_javalite/barcode_scan.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 5 issues. Showing the first 2:

lib/gen/protos/protos.pb.dart doesn't match the Dart formatter.

To format your files run: flutter format .

lib/gen/protos/protos.pbenum.dart doesn't match the Dart formatter.

To format your files run: flutter format .

Support up-to-date dependencies
20 / 20

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

PackageConstraintCompatibleLatest
flutterflutter0.0.00.0.0
protobuf^2.0.02.0.02.0.0
Transitive dependencies
PackageConstraintCompatibleLatest
characters-1.1.01.2.0
collection-1.15.01.15.0
fixnum-1.0.01.0.0
meta-1.7.01.7.0
sky_engine-0.0.990.0.99
typed_data-1.3.01.3.0
vector_math-2.1.02.1.1

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

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

Support sound null safety
20 / 20

20/20 points: Package and dependencies are fully migrated to null safety!

Analysed with Pana 0.21.3, Flutter 2.5.2, Dart 2.14.3.

0
likes
100
pub points
22%
popularity

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

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

flutter, protobuf

More

Packages that depend on barcode_scan_javalite