custom_scanner_package 0.0.1
custom_scanner_package: ^0.0.1 copied to clipboard
A flutter Custom Scanner Package for Bar code and QR code.
We analyzed this package 10 hours ago, and awarded it 120 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
-
pubspec.yamldoesn't have ahomepageentry. -
pubspec.yamldoesn't have arepositoryentry.
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: BSD-3-Clause.
0/10 points: 20% or more of the public API has dartdoc comments
1 out of 7 API elements (14.3 %) have documentation comments.
Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.
To highlight public API members missing documentation consider enabling the public_member_api_docs lint.
Some symbols that are missing documentation: custom_scanner_package, custom_scanner_package.CustomScanner, custom_scanner_package.CustomScanner.CustomScanner.new, custom_scanner_package.CustomScanner.scanResult, custom_scanner_package.CustomScanner.style.
10/10 points: Package has an example
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:custom_scanner_package/custom_scanner_package.dartthat imports:package:flutter_barcode_scanner/flutter_barcode_scanner.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Linux`.
Because:
package:custom_scanner_package/custom_scanner_package.dartthat imports:package:flutter_barcode_scanner/flutter_barcode_scanner.dartthat declares support for platforms:Android,iOS.
Package does not support platform `macOS`.
Because:
package:custom_scanner_package/custom_scanner_package.dartthat imports:package:flutter_barcode_scanner/flutter_barcode_scanner.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Web`.
Because:
package:custom_scanner_package/custom_scanner_package.dartthat imports:package:flutter_barcode_scanner/flutter_barcode_scanner.dartthat declares support for platforms:Android,iOS.
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.cn/web/wasm for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 8 issues. Showing the first 2:
WARNING: This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: CustomScanner.type, CustomScanner.style, CustomScanner.scanResult
lib/custom_scanner_package.dart:7:7
╷
7 │ class CustomScanner extends StatefulWidget {
│ ^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/custom_scanner_package.dart
WARNING: The value of the field '_scanBarcode' isn't used.
lib/custom_scanner_package.dart:23:10
╷
23 │ String _scanBarcode = 'Unknown';
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/custom_scanner_package.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
flutter_barcode_scanner |
^2.0.0 |
2.0.0 | 2.0.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
flutter_plugin_android_lifecycle |
- | 2.0.32 | 2.0.32 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
vector_math |
- | 2.2.0 | 2.2.0 |
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
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.1, Flutter 3.35.7, Dart 3.9.2.
Check the analysis log for details.