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 2 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 635729 elements... Initialized dartdoc with 815 libraries 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... Generating docs for library web3_provider.dart from package:web3_provider/web3_provider.dart... 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... [1 more lines] ERR: warning: private API of package:flutter_inappwebview is reexported by libraries in other packages: from web3_provider.ContextMenu.ContextMenu: (file:///tmp/analyzerIEBOVH/pub-cache/hosted/20240613t092600-dot-dartlang-pub.appspot.com/flutter_inappwebview-5.8.0/lib/src/context_menu.dart:29:3) referred to by web3_provider: (file:///tmp/pana_VRQBJJ/lib/web3_provider.dart:1:1) warning: private API of package:flutter_inappwebview is reexported by libraries in other packages: from web3_provider.InAppLocalhostServer.InAppLocalhostServer: (file:///tmp/analyzerIEBOVH/pub-cache/hosted/20240613t092600-dot-dartlang-pub.appspot.com/flutter_inappwebview-5.8.0/lib/src/in_a[...] referred to by web3_provider: (file:///tmp/pana_VRQBJJ/lib/web3_provider.dart:1:1) warning: private API of package:flutter_inappwebview is reexported by libraries in other packages: from web3_provider.ChromeSafariBrowser.ChromeSafariBrowser: (file:///tmp/analyzerIEBOVH/pub-cache/hosted/20240613t092600-dot-dartlang-pub.appspot.com/flutter_inappwebview-5.8.0/lib/src/chrome[...] referred to by web3_provider: (file:///tmp/pana_VRQBJJ/lib/web3_provider.dart:1:1) warning: private API of package:flutter_inappwebview is reexported by libraries in other packages: [6359 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
.
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.0.2 |
flutter |
flutter |
0.0.0 | 0.0.0 |
flutter_inappwebview |
^5.7.1 |
5.8.0 | 6.0.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
characters |
- | 1.3.0 | 1.3.0 |
collection |
- | 1.18.0 | 1.19.0 |
material_color_utilities |
- | 0.8.0 | 0.12.0 |
meta |
- | 1.12.0 | 1.15.0 |
rational |
- | 2.2.3 | 2.2.3 |
sky_engine |
- | 0.0.99 | 0.0.99 |
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`, that was published 12 days ago.
When decimal is 30 days old, this package will no longer be awarded points in this category.
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.6
, Flutter 3.22.2
, Dart 3.4.3
.
Check the analysis log for details.