add_to_google_wallet 0.0.3 copy "add_to_google_wallet: ^0.0.3" to clipboard
add_to_google_wallet: ^0.0.3 copied to clipboard

PlatformAndroid

A Flutter plugin that provides the Add To Google Wallet Button.

23
likes
120/ 140
pub points
84%
popularity

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

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/DroidsOnRoids/add-to-google-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.

OK
Provide documentation
20 / 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, add_to_google_wallet.AddToGoogleWallet, add_to_google_wallet.AddToGoogleWallet.AddToGoogleWallet, add_to_google_wallet.AddToGoogleWallet.saveLoyaltyPass, add_to_google_wallet_button.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

These platforms are not supported:

Package does not support platform `iOS`.

Because:

  • package:add_to_google_wallet/add_to_google_wallet.dart that declares support for platforms: Android.
Package does not support platform `Windows`.

Because:

  • package:add_to_google_wallet/add_to_google_wallet.dart that declares support for platforms: Android.
Package does not support platform `Linux`.

Because:

  • package:add_to_google_wallet/add_to_google_wallet.dart that declares support for platforms: Android.
Package does not support platform `macOS`.

Because:

  • package:add_to_google_wallet/add_to_google_wallet.dart that declares support for platforms: Android.
Package does not support platform `Web`.

Because:

  • package:add_to_google_wallet/add_to_google_wallet.dart that declares support for platforms: Android.
partial
Pass static analysis
40 / 50trigger folding of the section

40/50 points: code has no errors, warnings, lints, or formatting issues

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_wallet_button.dart:88:50

   ╷
88 │         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_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_wallet_button.dart:90:50

   ╷
90 │         locale?.countryCode?.toUpperCase() ?? ui.window.locale.countryCode;
   │                                                  ^^^^^^
   ╵

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

failed
Support up-to-date dependencies
10 / 20trigger folding of the section

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

Package Constraint Compatible Latest
flutter flutter 0.0.0 0.0.0
flutter_svg ^1.1.6 1.1.6 2.0.10+1
plugin_platform_interface ^2.0.2 2.1.8 2.1.8
Transitive dependencies
Package Constraint Compatible Latest
characters - 1.3.0 1.3.0
collection - 1.18.0 1.18.0
material_color_utilities - 0.8.0 0.11.1
meta - 1.11.0 1.14.0
path_drawing - 1.0.1 1.0.1
path_parsing - 1.0.1 1.0.1
petitparser - 6.0.2 6.0.2
sky_engine - 0.0.99 0.0.99
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

Analyzed with Pana 0.22.3, Flutter 3.19.5, Dart 3.3.3.

Check the analysis log for details.