web3_webview 1.0.8
web3_webview: ^1.0.8 copied to clipboard
web3_webview is a powerful bridge between a DApp running inside a WebView and your Flutter application, enabling secure and seamless two-way communication between them
We analyzed this package 42 hours ago, and awarded it 120 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
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: BSD-3-Clause.
0/10 points: 20% or more of the public API has dartdoc comments
OUT: Documenting web3_webview... Discovering libraries... Linking elements... Precaching local docs for 1313898 elements... Initialized dartdoc with 1826 libraries Generating docs for library web3_js_bridge_callback.dart from package:web3_webview/web3_js_bridge_callback.dart... Generating docs for library widgets/bottom_sheet_dialog.dart from package:web3_webview/widgets/bottom_sheet_dialog.dart... Generating docs for library widgets/primary_button.dart from package:web3_webview/widgets/primary_button.dart... Generating docs for library transaction/transaction_handler.dart from package:web3_webview/transaction/transaction_handler.dart... Generating docs for library json_rpc_method.dart from package:web3_webview/json_rpc_method.dart... [19 more lines] ERR: warning: unresolved doc reference ["Canceled"] from web3_js_bridge_callback.Web3Result.cancel: (file:///tmp/pana_MLITJW/lib/web3_js_bridge_callback.dart:6:8) warning: web3_webview has no library level documentation comments from web3_webview: (file:///tmp/pana_MLITJW/lib/web3_webview_eip1193.dart:1:1) warning: unresolved doc reference [WebView.windowId] from web3_webview.Web3WebView.initialUserScripts: (file:///tmp/pana_MLITJW/lib/web3_webview_eip1193.dart:757:43) in documentation inherited from web3_webview.Web3WebView.initialUserScripts: (file:///tmp/pana_MLITJW/lib/web3_webview_eip1193.dart:757:43) warning: unresolved doc reference [ajaxRequest] from web3_webview.Web3WebView.onAjaxProgress: (file:///tmp/pana_MLITJW/lib/web3_webview_eip1193.dart:401:7) in documentation inherited from web3_webview.Web3WebView.onAjaxProgress: (file:///tmp/pana_MLITJW/lib/web3_webview_eip1193.dart:401:7) [264 more lines]
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:web3_webview/web3_webview.dartthat imports:package:web3_webview/web3_js_bridge_callback.dartthat imports:package:flutter_inappwebview/flutter_inappwebview.dartthat declares support for platforms:Android,iOS,Windows,macOS,Web.
Package not compatible with platform Web
Because:
package:web3_webview/web3_webview.dartthat imports:package:web3_webview/web3_js_bridge_callback.dartthat imports:package:flutter_inappwebview/flutter_inappwebview.dartthat imports:package:flutter_inappwebview/src/main.dartthat imports:package:flutter_inappwebview/src/webview_environment/main.dartthat imports:package:flutter_inappwebview/src/webview_environment/webview_environment.dartthat imports:package:flutter_inappwebview_platform_interface/flutter_inappwebview_platform_interface.dartthat imports:package:flutter_inappwebview_platform_interface/src/main.dartthat imports:package:flutter_inappwebview_platform_interface/src/in_app_localhost_server.dartthat imports:dart:io
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:web3_webview/web3_webview.dartthat imports:package:web3_webview/web3_js_bridge_callback.dartthat imports:package:flutter_inappwebview/flutter_inappwebview.dartthat imports:package:flutter_inappwebview/src/main.dartthat imports:package:flutter_inappwebview/src/webview_environment/main.dartthat imports:package:flutter_inappwebview/src/webview_environment/webview_environment.dartthat imports:package:flutter_inappwebview_platform_interface/flutter_inappwebview_platform_interface.dartthat imports:package:flutter_inappwebview_platform_interface/src/main.dartthat imports:package:flutter_inappwebview_platform_interface/src/in_app_localhost_server.dartthat 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 97 issues. Showing the first 2:
INFO: Missing type annotation.
lib/ethereum/ethereum_provider.dart:104:3
╷
104 │ getAddressFromPrivateKey(String privateKey) {
│ ^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/ethereum/ethereum_provider.dart
INFO: The import of '../models/button_config.dart' is unnecessary because all of the used elements are also provided by the import of '../models/models.dart'.
lib/ethereum/wallet_dialog_service.dart:5:8
╷
5 │ import '../models/button_config.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/ethereum/wallet_dialog_service.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
clipboard |
^0.1.3 |
0.1.3 | 2.0.2 | |
crypto |
^3.0.6 |
3.0.6 | 3.0.6 | |
flutter_inappwebview |
^6.1.5 |
6.1.5 | 6.1.5 | |
hex |
^0.2.0 |
0.2.0 | 0.2.0 | |
http |
^1.3.0 |
1.5.0 | 1.5.0 | |
intl |
^0.20.2 |
0.20.2 | 0.20.2 | |
modal_bottom_sheet |
^3.0.0 |
3.0.0 | 3.0.0 | |
pointycastle |
^3.9.1 |
3.9.1 | 4.0.0 | |
uuid |
^4.5.1 |
4.5.1 | 4.5.1 | |
web3dart |
^2.7.3 |
2.7.3 | 3.0.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
characters |
- | 1.4.0 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
convert |
- | 3.1.2 | 3.1.2 | |
eip1559 |
- | 0.6.2 | 0.6.2 | |
eip55 |
- | 1.0.2 | 1.0.3 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
flutter_inappwebview_android |
- | 1.1.3 | 1.1.3 | |
flutter_inappwebview_internal_annotations |
- | 1.2.0 | 1.2.0 | |
flutter_inappwebview_ios |
- | 1.1.2 | 1.1.2 | |
flutter_inappwebview_macos |
- | 1.1.2 | 1.1.2 | |
flutter_inappwebview_platform_interface |
- | 1.3.0+1 | 1.3.0+1 | |
flutter_inappwebview_web |
- | 1.1.2 | 1.1.2 | |
flutter_inappwebview_windows |
- | 0.6.0 | 0.6.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
js |
- | 0.7.2 | 0.7.2 | Discontinued |
json_rpc_2 |
- | 3.0.3 | 4.0.0 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
path |
- | 1.9.1 | 1.9.1 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
sec |
- | 1.1.0 | 1.1.1 | |
source_span |
- | 1.10.1 | 1.10.1 | |
sprintf |
- | 7.0.0 | 7.0.0 | |
stack_trace |
- | 1.12.1 | 1.12.1 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
stream_transform |
- | 2.1.1 | 2.1.1 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
wallet |
- | 0.0.13 | 0.0.18 | |
web |
- | 1.1.1 | 1.1.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
Found 3 issues. Showing the first 2:
The constraint `^0.1.3` on clipboard does not support the stable version `2.0.0`.
Try running dart pub upgrade --major-versions clipboard to update the constraint.
The constraint `^3.9.1` on pointycastle does not support the stable version `4.0.0`.
Try running dart pub upgrade --major-versions pointycastle 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.0, Flutter 3.35.7, Dart 3.9.2.
Check the analysis log for details.