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
34
downloads

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

partial
Follow Dart file conventions
30 / 30trigger folding of the section

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.

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.

failed
Provide documentation
10 / 20trigger folding of the section

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, add_to_google_wallet_method_channel.MethodChannelAddToGoogleWallet.methodChannel, add_to_google_wallet_method_channel.MethodChannelAddToGoogleWallet.saveLoyaltyPass.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

OK
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

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
Pass static analysis
30 / 50trigger folding of the section

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
Support up-to-date dependencies
30 / 40trigger folding of the section

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

Package Constraint Compatible Latest
cupertino_icons ^1.0.6 1.0.8 1.0.8
flutter flutter 0.0.0 0.0.0
flutter_svg ^1.1.6 1.1.6 2.0.16
plugin_platform_interface ^2.0.2 2.1.8 2.1.8
Transitive dependencies
Package Constraint Compatible Latest
characters - 1.3.0 1.4.0
collection - 1.19.0 1.19.1
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
path_drawing - 1.0.1 1.0.1
path_parsing - 1.1.0 1.1.0
petitparser - 6.0.2 6.0.2
sky_engine - 0.0.0 0.0.0
vector_math - 2.1.4 2.1.4
xml - 6.5.0 6.5.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.

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.22.17, Flutter 3.27.0, Dart 3.6.0.

Check the analysis log for details.

1
likes
120
points
34
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