promptbet_sdk 1.2.7
promptbet_sdk: ^1.2.7 copied to clipboard
PromptBet SDK for Flutter
We analyzed this package 38 hours ago, and awarded it 90 pub points (of a possible 160):
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 50 to 180 characters to describe the package, what it does, and its target use case.
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
0/10 points: Use an OSI-approved license
No license was recognized.
Consider using an OSI-approved license in the LICENSE
file to make it more accessible to the community.
10/10 points: 20% or more of the public API has dartdoc comments
6 out of 25 API elements (24.0 %) have documentation comments.
Some symbols that are missing documentation: promptbet_sdk
, promptbet_sdk.InitializationStatus
, promptbet_sdk.PromptbetSdk
, promptbet_sdk.PromptbetSdk.PromptbetSdk.new
, promptbet_sdk.PromptbetSdk.callbackFn
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
These platforms are not supported:
Package does not support platform `Android`.
Because:
package:promptbet_sdk/promptbet_sdk.dart
that declares support for platforms: .
Package does not support platform `iOS`.
Because:
package:promptbet_sdk/promptbet_sdk.dart
that declares support for platforms: .
Package does not support platform `Windows`.
Because:
package:promptbet_sdk/promptbet_sdk.dart
that declares support for platforms: .
Package does not support platform `Linux`.
Because:
package:promptbet_sdk/promptbet_sdk.dart
that declares support for platforms: .
Package does not support platform `macOS`.
Because:
package:promptbet_sdk/promptbet_sdk.dart
that declares support for platforms: .
Package does not support platform `Web`.
Because:
package:promptbet_sdk/promptbet_sdk.dart
that declares support for platforms: .
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:promptbet_sdk/promptbet_sdk.dart
that imports:package:audioplayers/audioplayers.dart
that imports:package:audioplayers/src/source.dart
that imports:package:audioplayers/src/audioplayer.dart
that imports:package:path_provider/path_provider.dart
that imports:package:path_provider_platform_interface/path_provider_platform_interface.dart
that imports:package:path_provider_platform_interface/src/method_channel_path_provider.dart
that imports:package:platform/platform.dart
that imports:package:platform/src/interface/local_platform.dart
that imports:dart:io
This package is not compatible with runtime wasm
, and will not be rewarded full points in a future version of the scoring model.
See https://dart.cn/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 48 issues. Showing the first 2:
INFO: The constant name 'HEALTHY' isn't a lowerCamelCase identifier.
lib/promptbet_sdk.dart:12:3
╷
12 │ HEALTHY,
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/promptbet_sdk.dart
INFO: The constant name 'UNAVAILABLE' isn't a lowerCamelCase identifier.
lib/promptbet_sdk.dart:13:3
╷
13 │ UNAVAILABLE,
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/promptbet_sdk.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
audioplayers |
^6.0.0 |
6.5.1 | 6.5.1 | |
flutter_inappwebview |
^6.1.5 |
6.1.5 | 6.1.5 | |
http |
^1.2.2 |
1.5.0 | 1.5.0 | |
path_provider |
^2.0.15 |
2.1.5 | 2.1.5 | |
permission_handler |
^11.3.1 |
11.4.0 | 12.0.1 | |
plugin_platform_interface |
^2.0.2 |
2.1.8 | 2.1.8 | |
record |
^6.1.0 |
6.1.2 | 6.1.2 |
Transitive dependencies
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^11.3.1` on permission_handler does not support the stable version `12.0.0`.
Try running dart pub upgrade --major-versions permission_handler
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.24
, Flutter 3.35.5
, Dart 3.9.2
.
Check the analysis log for details.