flutter_injected_web3 1.0.0 copy "flutter_injected_web3: ^1.0.0" to clipboard
flutter_injected_web3: ^1.0.0 copied to clipboard

PlatformAndroidiOS
outdated

A web3 injection library for flutter.

7
likes
120/ 160
pub points
73%
popularity

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

failed
Follow Dart file conventions
20 / 30trigger folding of the section

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 60 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.

OK
Provide documentation
20 / 20trigger folding of the section

10/10 points: 20% or more of the public API has dartdoc comments

67 out of 136 API elements (49.3 %) have documentation comments.

Some symbols that are missing documentation: flutter_injected_web3.IncomingAccountsModel, flutter_injected_web3.IncomingAccountsModel.IncomingAccountsModel, flutter_injected_web3.IncomingAccountsModel.IncomingAccountsModel.fromJson, flutter_injected_web3.IncomingAccountsModel.address, flutter_injected_web3.IncomingAccountsModel.chainId.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

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:flutter_injected_web3/flutter_injected_web3.dart that imports:
  • package:flutter_injected_web3/src/injected_webview.dart that imports:
  • package:flutter_inappwebview/flutter_inappwebview.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

  • package:flutter_injected_web3/flutter_injected_web3.dart that imports:
  • package:flutter_injected_web3/src/injected_webview.dart that imports:
  • package:flutter_inappwebview/flutter_inappwebview.dart that declares support for platforms: Android, iOS.
Package does not support platform `macOS`.

Because:

  • package:flutter_injected_web3/flutter_injected_web3.dart that imports:
  • package:flutter_injected_web3/src/injected_webview.dart that imports:
  • package:flutter_inappwebview/flutter_inappwebview.dart that declares support for platforms: Android, iOS.
Package does not support platform `Web`.

Because:

  • package:flutter_injected_web3/flutter_injected_web3.dart that imports:
  • package:flutter_injected_web3/src/injected_webview.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:flutter_injected_web3/flutter_injected_web3.dart that imports:
  • package:flutter_injected_web3/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/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.

failed
Pass static analysis
30 / 50trigger folding of the section

30/50 points: code has no errors, warnings, lints, or formatting issues

Found 7 issues. Showing the first 2:

WARNING: This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: InjectedWebview.chainId, InjectedWebview.rpc, InjectedWebview.initialized, InjectedWebview.currentURL

lib/src/injected_webview.dart:11:7

   ╷
11 │ class InjectedWebview extends StatefulWidget implements WebView {
   │       ^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/injected_webview.dart

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/src/injected_webview.dart:2:8

  ╷
2 │ import 'dart:typed_data';
  │        ^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/injected_webview.dart

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

0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
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.3.1
collection - 1.18.0 1.19.1
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
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 `^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.15, Flutter 3.24.5, Dart 3.5.4.

Check the analysis log for details.