generate_and_store_qr_code 0.0.1 copy "generate_and_store_qr_code: ^0.0.1" to clipboard
generate_and_store_qr_code: ^0.0.1 copied to clipboard

discontinued

A new Flutter package to generate qr code and store it to any database.

60/ 160
pub points
14
downloads

We analyzed this package 3 days ago, and awarded it 60 pub points (of a possible 160):

Partially passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Partially passed check 10/10 points: Provide a valid pubspec.yaml

Homepage URL doesn't exist.

At the time of the analysis https://github.com/Sarah-ben/generate_qr_to_database was unreachable. Make sure that the website is reachable via HEAD requests.

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

Failed report section
Provide documentation
0 / 20trigger folding of the section

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

1 out of 15 API elements (6.7 %) 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: generate_and_store_qr_code, generate_and_store_qr_code.Qr, generate_and_store_qr_code.Qr.Qr.new, generate_and_store_qr_code.Qr.clip, generate_and_store_qr_code.Qr.color.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Failed report section
Platform support
0 / 20trigger folding of the section

Failed check 0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

Failed report section
Pass static analysis
0 / 50trigger folding of the section

Failed check 0/50 points: code has no errors, warnings, lints, or formatting issues

Found 21 issues. Showing the first 2:

ERROR: The argument type 'QrImage' can't be assigned to the parameter type 'Widget?'.

lib/generate_and_store_qr_code.dart:37:24

   ╷
37 │                   child: QrImage(
   │ ┌────────────────────────^
38 │ │                   errorCorrectionLevel: errorCorrection,
39 │ │                   data: 'put ur data here',
40 │ │                   version: QrVersions.auto,
41 │ │                   size: 240.0,
42 │ │                   backgroundColor: Colors.white,
43 │ │                   errorStateBuilder: (cxt, err) {
44 │ │                     return const Center(
45 │ │                       child: Text(
46 │ │                         "Something went wrong ...",
47 │ │                         textAlign: TextAlign.center,
48 │ │                       ),
49 │ │                     );
   │ └──────────^
   ╵

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

ERROR: 1 positional argument expected by 'QrImage.new', but 0 found.

lib/generate_and_store_qr_code.dart:38:19

   ╷
38 │                   errorCorrectionLevel: errorCorrection,
   │                   ^^^^^^^^^^^^^^^^^^^^
   ╵

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

Failed report section
Support up-to-date dependencies
30 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
path_provider ^2.0.11 2.1.5 2.1.5
qr_flutter ^4.0.0 4.1.0 4.1.0
share_plus ^4.0.7 4.5.3 12.0.1
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
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 - 6.1.4 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 - 1.0.6 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_linux - 3.0.1 3.0.1 Discontinued
share_plus_macos - 3.0.1 3.0.1 Discontinued
share_plus_platform_interface - 3.4.0 6.1.0
share_plus_web - 3.1.0 3.1.0 Discontinued
share_plus_windows - 3.0.1 4.0.0 Discontinued
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 - 6.3.2 6.3.2
url_launcher_android - 6.3.28 6.3.28
url_launcher_ios - 6.4.1 6.4.1
url_launcher_linux - 3.2.2 3.2.2
url_launcher_macos - 3.2.5 3.2.5
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
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 `^4.0.7` on share_plus does not support the stable version `5.0.0`.

Try running dart pub upgrade --major-versions share_plus to update the constraint.

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

Passed check 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.2, Dart 3.11.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
60
points
14
downloads

Publisher

unverified uploader

Weekly Downloads

A new Flutter package to generate qr code and store it to any database.

Homepage

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, path_provider, qr_flutter, share_plus

More

Packages that depend on generate_and_store_qr_code