inai_flutter_sdk 0.1.6 inai_flutter_sdk: ^0.1.6 copied to clipboard
Inai Flutter SDK
We analyzed this package 4 days ago, and awarded it 80 pub points (of a possible 140):
0/10 points: Provide a valid pubspec.yaml
The package description is too short.
Add more detail to the description
field of pubspec.yaml
. Use 60 to 180 characters to describe the package, what it does, and its target use case.
Homepage URL doesn't exist.
At the time of the analysis https://github.com/inaitech/inai-flutter-sdk
was unreachable. Make sure that the website is reachable via HEAD
requests.
Failed to verify repository URL.
Please provide a valid repository
URL in pubspec.yaml
, such that:
repository
can be cloned,- a clone of the repository contains a
pubspec.yaml
, which:,- contains
name: inai_flutter_sdk
, - contains a
version
property, and, - does not contain a
publish_to
property.
- contains
Unable to access git repository: Failed to run remote show origin
.
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
.
0/10 points: 20% or more of the public API has dartdoc comments
3 out of 224 API elements (1.3 %) 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.
Some symbols that are missing documentation: inai_flutter_sdk
, inai_flutter_sdk.GooglePayEnvironment
, inai_flutter_sdk.GooglePayEnvironment.GooglePayEnvironment
, inai_flutter_sdk.InaiApplePayRequest
, inai_flutter_sdk.InaiApplePayRequest.InaiApplePayRequest
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 2 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- ✓ Android
- ✓ iOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:inai_flutter_sdk/inai_flutter_sdk.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Linux`.
Because:
package:inai_flutter_sdk/inai_flutter_sdk.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `macOS`.
Because:
package:inai_flutter_sdk/inai_flutter_sdk.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Web`.
Because:
package:inai_flutter_sdk/inai_flutter_sdk.dart
that declares support for platforms:Android
,iOS
.
These issues are present but do not affect the score, because they may not originate in your package:
Package does not support platform `Android`.
Because:
package:inai_flutter_sdk/inai_flutter_sdk.dart
that imports:package:inai_flutter_sdk/src/inai_checkout.dart
that imports:package:pay/pay.dart
that imports:package:pay_ios/pay_ios.dart
that declares support for platforms:iOS
.
Package does not support platform `iOS`.
Because:
package:inai_flutter_sdk/inai_flutter_sdk.dart
that imports:package:inai_flutter_sdk/src/inai_checkout.dart
that imports:package:pay/pay.dart
that imports:package:pay_android/pay_android.dart
that declares support for platforms:Android
.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 6 issues. Showing the first 2:
WARNING: The '!' will have no effect because the receiver can't be null.
lib/src/inai_checkout.dart:428:17
╷
428 │ overlayState!.insert(overlayEntry);
│ ^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/inai_checkout.dart
WARNING: This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: InaiCheckoutWidget.overlayFinished
lib/src/inai_checkout_widget.dart:39:7
╷
39 │ class InaiCheckoutWidget extends StatefulWidget {
│ ^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/inai_checkout_widget.dart
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 |
http |
^1.1.0 |
1.2.1 | 1.2.1 |
pay |
^1.1.0 |
1.1.2 | 2.0.0 |
url_launcher |
^6.0.3 |
6.2.6 | 6.2.6 |
webview_flutter |
^4.2.4 |
4.7.0 | 4.7.0 |
yaml |
^3.1.1 |
3.1.2 | 3.1.2 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
args |
- | 2.5.0 | 2.5.0 |
async |
- | 2.11.0 | 2.11.0 |
characters |
- | 1.3.0 | 1.3.0 |
clock |
- | 1.1.1 | 1.1.1 |
collection |
- | 1.18.0 | 1.18.0 |
flutter_localizations |
- | 0.0.0 | 0.0.0 |
flutter_svg |
- | 2.0.10+1 | 2.0.10+1 |
flutter_web_plugins |
- | 0.0.0 | 0.0.0 |
http_parser |
- | 4.0.2 | 4.0.2 |
intl |
- | 0.18.1 | 0.19.0 |
material_color_utilities |
- | 0.8.0 | 0.11.1 |
meta |
- | 1.11.0 | 1.14.0 |
path |
- | 1.9.0 | 1.9.0 |
path_parsing |
- | 1.0.1 | 1.0.1 |
pay_android |
- | 1.0.11 | 2.0.0 |
pay_ios |
- | 1.0.11 | 1.0.11 |
pay_platform_interface |
- | 1.0.4 | 1.0.4 |
petitparser |
- | 6.0.2 | 6.0.2 |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 |
sky_engine |
- | 0.0.99 | 0.0.99 |
source_span |
- | 1.10.0 | 1.10.0 |
string_scanner |
- | 1.2.0 | 1.2.0 |
term_glyph |
- | 1.2.1 | 1.2.1 |
typed_data |
- | 1.3.2 | 1.3.2 |
url_launcher_android |
- | 6.3.1 | 6.3.1 |
url_launcher_ios |
- | 6.2.5 | 6.2.5 |
url_launcher_linux |
- | 3.1.1 | 3.1.1 |
url_launcher_macos |
- | 3.1.0 | 3.1.0 |
url_launcher_platform_interface |
- | 2.3.2 | 2.3.2 |
url_launcher_web |
- | 2.3.1 | 2.3.1 |
url_launcher_windows |
- | 3.1.1 | 3.1.1 |
vector_graphics |
- | 1.1.11+1 | 1.1.11+1 |
vector_graphics_codec |
- | 1.1.11+1 | 1.1.11+1 |
vector_graphics_compiler |
- | 1.1.11+1 | 1.1.11+1 |
vector_math |
- | 2.1.4 | 2.1.4 |
web |
- | 0.5.1 | 0.5.1 |
webview_flutter_android |
- | 3.16.1 | 3.16.1 |
webview_flutter_platform_interface |
- | 2.10.0 | 2.10.0 |
webview_flutter_wkwebview |
- | 3.13.0 | 3.13.0 |
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.0` on pay does not support the stable version `2.0.0`.
Try running dart pub upgrade --major-versions pay
to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
Analyzed with Pana 0.22.3
, Flutter 3.19.6
, Dart 3.3.4
.
Check the analysis log for details.