moment_sdk 0.1.0
moment_sdk: ^0.1.0 copied to clipboard
Moment payment checkout SDK for Flutter. Embed Secure Payment Checkout Experiences directly into your Flutter mobile application.
We analyzed this package 5 days ago, and awarded it 130 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
Homepage URL doesn't exist.
At the time of the analysis https://github.com/anthropics/moment-sdk 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.
10/10 points: 20% or more of the public API has dartdoc comments
7 out of 25 API elements (28.0 %) have documentation comments.
Some symbols that are missing documentation: moment_sdk.MomentException.MomentException.new, moment_sdk.MomentException.message, moment_sdk.MomentResult.MomentResult.cancelled, moment_sdk.MomentResult.MomentResult.error, moment_sdk.MomentResult.MomentResult.expired.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ macOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:moment_sdk/moment_sdk.dartthat imports:package:moment_sdk/src/moment_sdk.dartthat imports:package:webview_flutter/webview_flutter.dartthat declares support for platforms:Android,iOS,macOS.
Package does not support platform `Linux`.
Because:
package:moment_sdk/moment_sdk.dartthat imports:package:moment_sdk/src/moment_sdk.dartthat imports:package:webview_flutter/webview_flutter.dartthat declares support for platforms:Android,iOS,macOS.
Package does not support platform `Web`.
Because:
package:moment_sdk/moment_sdk.dartthat imports:package:moment_sdk/src/moment_sdk.dartthat imports:package:webview_flutter/webview_flutter.dartthat declares support for platforms:Android,iOS,macOS.
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/moment_sdk.dart:370:41
╷
370 │ color: Colors.black.withOpacity(0.1),
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/moment_sdk.dart
INFO: 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss.
lib/src/moment_sdk.dart:525:39
╷
525 │ color: Colors.black.withOpacity(0.05),
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/moment_sdk.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
webview_flutter |
^4.4.2 |
4.9.0 | 4.13.1 | |
webview_flutter_android |
^3.12.0 |
3.16.9 | 4.11.0 | |
webview_flutter_wkwebview |
^3.9.2 |
3.24.3 | 3.24.3 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
characters |
- | 1.4.1 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
material_color_utilities |
- | 0.13.0 | 0.13.0 | |
meta |
- | 1.17.0 | 1.18.2 | |
path |
- | 1.9.1 | 1.9.1 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
vector_math |
- | 2.2.0 | 2.3.0 | |
webview_flutter_platform_interface |
- | 2.15.1 | 2.15.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^3.12.0` on webview_flutter_android does not support the stable version `4.0.0`.
Try running dart pub upgrade --major-versions webview_flutter_android 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.12, Flutter 3.41.6, Dart 3.11.4.
Check the analysis log for details.