web3_provider 1.1.4 web3_provider: ^1.1.4 copied to clipboard
The bridge communicate between in-app webview and mobile-app by standard EIP-1193.
We analyzed this package 4 days ago, and awarded it 130 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_provider... Discovering libraries... Linking elements... Precaching local docs for 652324 elements... Initialized dartdoc with 832 libraries Generating docs for library formatter_balance.dart from package:web3_provider/formatter_balance.dart... Generating docs for library json_util.dart from package:web3_provider/json_util.dart... Generating docs for library web3_provider.dart from package:web3_provider/web3_provider.dart... Generating docs for library inapp_webview_eip1193.dart from package:web3_provider/inapp_webview_eip1193.dart... Generating docs for library js_bridge_callback_bean.dart from package:web3_provider/js_bridge_callback_bean.dart... [1 more lines] ERR: warning: unresolved doc reference [customPathProvider] from package-web3_provider: file:///tmp/pana_UBSRGV warning: unresolved doc reference [customWalletName] from package-web3_provider: file:///tmp/pana_UBSRGV warning: unresolved doc reference ["Canceled"] from js_bridge_callback_bean.Web3Result.cancel: (file:///tmp/pana_UBSRGV/lib/js_bridge_callback_bean.dart:6:8) warning: web3_provider has no library level documentation comments from web3_provider: (file:///tmp/pana_UBSRGV/lib/inapp_webview_eip1193.dart:1:9) error: file already written at "web3_provider/index.html" for symbol web3_provider: (file:///tmp/pana_UBSRGV/lib/inapp_webview_eip1193.dart:1:9) [199 more lines]
10/10 points: Package has 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:web3_provider/web3_provider.dart
that imports:package:web3_provider/js_bridge_callback_bean.dart
that imports:package:flutter_inappwebview/flutter_inappwebview.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Linux`.
Because:
package:web3_provider/web3_provider.dart
that imports:package:web3_provider/js_bridge_callback_bean.dart
that imports:package:flutter_inappwebview/flutter_inappwebview.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `macOS`.
Because:
package:web3_provider/web3_provider.dart
that imports:package:web3_provider/js_bridge_callback_bean.dart
that imports:package:flutter_inappwebview/flutter_inappwebview.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Web`.
Because:
package:web3_provider/web3_provider.dart
that imports:package:web3_provider/js_bridge_callback_bean.dart
that imports:package:flutter_inappwebview/flutter_inappwebview.dart
that declares support for platforms:Android
,iOS
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:web3_provider/web3_provider.dart
that imports:package:web3_provider/js_bridge_callback_bean.dart
that imports:package:flutter_inappwebview/flutter_inappwebview.dart
that imports:package:flutter_inappwebview/src/main.dart
that imports:package:flutter_inappwebview/src/web_message/main.dart
that imports:package:flutter_inappwebview/src/web_message/web_message_listener.dart
that imports:package:flutter_inappwebview/src/types.dart
that imports:package:flutter_inappwebview/src/web_message/web_message_channel.dart
that imports:package:flutter_inappwebview/src/in_app_webview/in_app_webview_controller.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.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
INFO: The import of 'dart:typed_data' is unnecessary because all of the used elements are also provided by the import of 'package:flutter/foundation.dart'.
lib/inapp_webview_eip1193.dart:6:8
╷
6 │ import 'dart:typed_data';
│ ^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/inapp_webview_eip1193.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
decimal |
^2.3.0 |
2.3.3 | 3.1.0 |
flutter |
flutter |
0.0.0 | 0.0.0 |
flutter_inappwebview |
^5.7.1 |
5.8.0 | 6.1.5 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
characters |
- | 1.3.0 | 1.4.0 |
collection |
- | 1.19.0 | 1.19.1 |
material_color_utilities |
- | 0.11.1 | 0.12.0 |
meta |
- | 1.15.0 | 1.16.0 |
rational |
- | 2.2.3 | 2.2.3 |
sky_engine |
- | 0.0.0 | 0.0.0 |
vector_math |
- | 2.1.4 | 2.1.4 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^2.3.0` on decimal does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions decimal
to update the constraint.
The constraint `^5.7.1` on flutter_inappwebview does not support the stable version `6.0.0`.
Try running dart pub upgrade --major-versions flutter_inappwebview
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.17
, Flutter 3.27.0
, Dart 3.6.0
.
Check the analysis log for details.