web3_webview 1.0.8 copy "web3_webview: ^1.0.8" to clipboard
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

120/ 160
pub points
50
downloads

We analyzed this package 4 hours ago, and awarded it 120 pub points (of a possible 160):

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

Failed report section
Provide documentation
0 / 20trigger folding of the section

Failed check 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 ethereum/ethereum_provider.dart from package:web3_webview/ethereum/ethereum_provider.dart... Generating docs for library ethereum/wallet_dialog_service.dart from package:web3_webview/ethereum/wallet_dialog_service.dart... Generating docs for library models/wallet_state.dart from package:web3_webview/models/wallet_state.dart... Generating docs for library models/network_config.dart from package:web3_webview/models/network_config.dart... Generating docs for library models/web3_wallet_config.dart from package:web3_webview/models/web3_wallet_config.dart... [19 more lines] ERR: warning: unresolved doc reference ["Canceled"] from web3_js_bridge_callback.Web3Result.cancel: (file:///tmp/pana_PKMBIW/lib/web3_js_bridge_callback.dart:6:8) warning: web3_webview has no library level documentation comments from web3_webview: (file:///tmp/pana_PKMBIW/lib/web3_webview_eip1193.dart:1:1) error: file already written at "web3_webview/index.html" for symbol web3_webview: (file:///tmp/pana_PKMBIW/lib/web3_webview_eip1193.dart:1:1) conflicting with file already generated by web3_webview: (file:///tmp/pana_PKMBIW/lib/web3_webview.dart:1:1) Dartdoc generates a path and filename to write to for each symbol. 'web3_webview' conflicts with another symbol in the generated path, and therefore can not be written out. Changing the name, library name, or [264 more lines]

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 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.dart that imports:
  • package:web3_webview/web3_js_bridge_callback.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:web3_webview/web3_webview.dart that imports:
  • package:web3_webview/web3_js_bridge_callback.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

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:web3_webview/web3_webview.dart that imports:
  • package:web3_webview/web3_js_bridge_callback.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.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 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

Failed report section
Support up-to-date dependencies
30 / 40trigger folding of the section

Failed check 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.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 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.

Weekly downloads

Display as:
By versions:
5
likes
120
points
50
downloads

Publisher

verified publisherdatit309.is-a.dev

Weekly Downloads

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

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

clipboard, crypto, flutter, flutter_inappwebview, hex, http, intl, modal_bottom_sheet, pointycastle, uuid, web3dart

More

Packages that depend on web3_webview