flutter_dapp_provider 0.0.2
flutter_dapp_provider: ^0.0.2 copied to clipboard
A web3 dapp provider for flutter.
We analyzed this package 3 days ago, and awarded it 110 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
10/10 points: Use an OSI-approved license
Detected license: MIT
.
0/10 points: 20% or more of the public API has dartdoc comments
5 out of 137 API elements (3.6 %) 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.
To highlight public API members missing documentation consider enabling the public_member_api_docs
lint.
Some symbols that are missing documentation: flutter_dapp_provider
, flutter_dapp_provider.Calculator.Calculator.new
, flutter_dapp_provider.IncomingAccountsModel
, flutter_dapp_provider.IncomingAccountsModel.IncomingAccountsModel.fromJson
, flutter_dapp_provider.IncomingAccountsModel.IncomingAccountsModel.new
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 4 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ macOS
These platforms are not supported:
Package does not support platform `Linux`.
Because:
package:flutter_dapp_provider/flutter_dapp_provider.dart
that imports:package:flutter_dapp_provider/src/injected_webview.dart
that imports:package:flutter_inappwebview/flutter_inappwebview.dart
that declares support for platforms:Android
,iOS
,Windows
,macOS
,Web
.
Package not compatible with platform Web
Because:
package:flutter_dapp_provider/flutter_dapp_provider.dart
that imports:package:flutter_dapp_provider/src/injected_webview.dart
that imports:package:flutter_inappwebview/flutter_inappwebview.dart
that imports:package:flutter_inappwebview/src/main.dart
that imports:package:flutter_inappwebview/src/webview_environment/main.dart
that imports:package:flutter_inappwebview/src/webview_environment/webview_environment.dart
that imports:package:flutter_inappwebview_platform_interface/flutter_inappwebview_platform_interface.dart
that imports:package:flutter_inappwebview_platform_interface/src/main.dart
that imports:package:flutter_inappwebview_platform_interface/src/in_app_localhost_server.dart
that imports:dart:io
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:flutter_dapp_provider/flutter_dapp_provider.dart
that imports:package:flutter_dapp_provider/src/injected_webview.dart
that imports:package:flutter_inappwebview/flutter_inappwebview.dart
that imports:package:flutter_inappwebview/src/main.dart
that imports:package:flutter_inappwebview/src/webview_environment/main.dart
that imports:package:flutter_inappwebview/src/webview_environment/webview_environment.dart
that imports:package:flutter_inappwebview_platform_interface/flutter_inappwebview_platform_interface.dart
that imports:package:flutter_inappwebview_platform_interface/src/main.dart
that imports:package:flutter_inappwebview_platform_interface/src/in_app_localhost_server.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.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 4 issues. Showing the first 2:
WARNING: The declaration '_sendResults' isn't referenced.
lib/src/injected_webview.dart:808:16
╷
808 │ Future<void> _sendResults(InAppWebViewController controller, String network,
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/injected_webview.dart
INFO: Constructors for public widgets should have a named 'key' parameter.
lib/src/injected_webview.dart:29:3
╷
29 │ InjectedWebview({
│ ^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/injected_webview.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
flutter_inappwebview |
^6.0.0 |
6.1.5 | 6.1.5 | |
shared_preferences |
^2.2.3 |
2.5.3 | 2.5.3 |
Transitive dependencies
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
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.