qrbar 0.0.7
qrbar: ^0.0.7 copied to clipboard
A lightweight Flutter package to scan and generate QR codes and barcodes with a clean and unified API.
We analyzed this package 4 days ago, and awarded it 140 pub points (of a possible 160):
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.
10/10 points: 20% or more of the public API has dartdoc comments
113 out of 118 API elements (95.8 %) have documentation comments.
Some symbols that are missing documentation: code_type, generate_options, qr_style, qrbar.QrBarGen.QrBarGen.new, scan_result.
10/10 points: Package has an example
20/20 points: Supports 4 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ macOS
-
✓ Web
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:qrbar/qrbar.dartthat imports:package:qrbar/src/scanner/scanner.dartthat imports:package:qrbar/src/utils/barcode_type_mapper.dartthat imports:package:mobile_scanner/mobile_scanner.dartthat declares support for platforms:Android,iOS,macOS,Web.
Package does not support platform `Linux`.
Because:
package:qrbar/qrbar.dartthat imports:package:qrbar/src/scanner/scanner.dartthat imports:package:qrbar/src/utils/barcode_type_mapper.dartthat imports:package:mobile_scanner/mobile_scanner.dartthat declares support for platforms:Android,iOS,macOS,Web.
WASM-ready: This package is compatible with runtime wasm. See https://dart.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
INFO: 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss.
lib/src/generator/custom_qr_painters.dart:296:52
╷
296 │ shadowColor: shadowColor ?? Colors.black.withOpacity(0.5),
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/generator/custom_qr_painters.dart
INFO: 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss.
lib/src/generator/custom_qr_painters.dart:531:35
╷
531 │ ColorFilter.mode(color2.withOpacity(0.5), BlendMode.srcIn);
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/generator/custom_qr_painters.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
barcode_widget |
^2.0.4 |
2.0.4 | 2.0.4 | |
mobile_scanner |
^6.0.7 |
6.0.11 | 7.2.0 | |
path_provider |
^2.1.5 |
2.1.5 | 2.1.5 | |
qr_flutter |
^4.1.0 |
4.1.0 | 4.1.0 | |
share_plus |
^10.1.4 |
10.1.4 | 12.0.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
barcode |
- | 2.2.9 | 2.2.9 | |
characters |
- | 1.4.1 | 1.4.1 | |
code_assets |
- | 1.0.0 | 1.0.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
cross_file |
- | 0.3.5+2 | 0.3.5+2 | |
crypto |
- | 3.0.7 | 3.0.7 | |
ffi |
- | 2.2.0 | 2.2.0 | |
file |
- | 7.0.1 | 7.0.1 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
glob |
- | 2.1.3 | 2.1.3 | |
hooks |
- | 1.0.2 | 1.0.2 | |
logging |
- | 1.3.0 | 1.3.0 | |
material_color_utilities |
- | 0.13.0 | 0.13.0 | |
meta |
- | 1.17.0 | 1.18.1 | |
mime |
- | 2.0.0 | 2.0.0 | |
native_toolchain_c |
- | 0.17.5 | 0.17.5 | |
objective_c |
- | 9.3.0 | 9.3.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_provider_android |
- | 2.2.22 | 2.2.22 | |
path_provider_foundation |
- | 2.6.0 | 2.6.0 | |
path_provider_linux |
- | 2.2.1 | 2.2.1 | |
path_provider_platform_interface |
- | 2.1.2 | 2.1.2 | |
path_provider_windows |
- | 2.3.0 | 2.3.0 | |
platform |
- | 3.1.6 | 3.1.6 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
pub_semver |
- | 2.2.0 | 2.2.0 | |
qr |
- | 3.0.2 | 3.0.2 | |
share_plus_platform_interface |
- | 5.0.2 | 6.1.0 | |
source_span |
- | 1.10.2 | 1.10.2 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
url_launcher_linux |
- | 3.2.2 | 3.2.2 | |
url_launcher_platform_interface |
- | 2.3.2 | 2.3.2 | |
url_launcher_web |
- | 2.4.2 | 2.4.2 | |
url_launcher_windows |
- | 3.1.5 | 3.1.5 | |
uuid |
- | 4.5.3 | 4.5.3 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
web |
- | 1.1.1 | 1.1.1 | |
win32 |
- | 5.15.0 | 6.0.0 | |
xdg_directories |
- | 1.1.0 | 1.1.0 | |
yaml |
- | 3.1.3 | 3.1.3 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^6.0.7` on mobile_scanner does not support the stable version `7.0.0`.
Try running dart pub upgrade --major-versions mobile_scanner to update the constraint.
The constraint `^10.1.4` on share_plus does not support the stable version `11.0.0`.
Try running dart pub upgrade --major-versions share_plus 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.23.10, Flutter 3.41.4, Dart 3.11.1.
Check the analysis log for details.