add_to_google_web_wallet 0.0.6 copy "add_to_google_web_wallet: ^0.0.6" to clipboard
add_to_google_web_wallet: ^0.0.6 copied to clipboard

package that allows you to create add to google wallet button, for web platform.

1
likes
120/ 160
pub points
67
downloads

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

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/riush03/add_to_google_web_wallet/issues 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: MIT.

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

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

6 out of 23 API elements (26.1 %) have documentation comments.

Some symbols that are missing documentation: add_to_google_wallet_method_channel, add_to_google_wallet_method_channel.MethodChannelAddToGoogleWallet, add_to_google_wallet_method_channel.MethodChannelAddToGoogleWallet.MethodChannelAddToGoogleWallet.new, add_to_google_wallet_method_channel.MethodChannelAddToGoogleWallet.methodChannel, add_to_google_wallet_method_channel.MethodChannelAddToGoogleWallet.saveLoyaltyPass.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Passed report section
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

Passed check 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.dev/web/wasm for details.

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

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

Found 7 issues. Showing the first 2:

WARNING: The declaration '_onAddToGoogleWalletTap' isn't referenced.

lib/widgets/add_to_google_web_wallet_button.dart:78:8

   ╷
78 │   void _onAddToGoogleWalletTap() => AddToGoogleWebWallet().saveLoyaltyPass(
   │        ^^^^^^^^^^^^^^^^^^^^^^^
   ╵

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

INFO: 'window' is deprecated and shouldn't be used. Look up the current FlutterView from the context via View.of(context) or consult the PlatformDispatcher directly instead. Deprecated to prepare for the upcoming multi-window support. This feature was deprecated after v3.7.0-32.0.pre.

lib/widgets/add_to_google_web_wallet_button.dart:87:50

   ╷
87 │         locale?.languageCode.toLowerCase() ?? ui.window.locale.languageCode;
   │                                                  ^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/widgets/add_to_google_web_wallet_button.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
cupertino_icons ^1.0.6 1.0.8 1.0.8
flutter_svg ^1.1.6 1.1.6 2.2.0
plugin_platform_interface ^2.0.2 2.1.8 2.1.8
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.0
path_drawing - 1.0.1 1.0.1
path_parsing - 1.1.0 1.1.0
petitparser - 6.1.0 7.0.0
vector_math - 2.1.4 2.2.0
xml - 6.5.0 6.6.0

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

The constraint `^1.1.6` on flutter_svg does not support the stable version `2.0.0`.

Try running dart pub upgrade --major-versions flutter_svg 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.22.21, Flutter 3.32.4, Dart 3.8.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
120
points
67
downloads

Publisher

unverified uploader

Weekly Downloads

package that allows you to create add to google wallet button, for web platform.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

cupertino_icons, flutter, flutter_svg, plugin_platform_interface

More

Packages that depend on add_to_google_web_wallet