flutter_fai_webview 1.1.6
flutter_fai_webview: ^1.1.6 copied to clipboard
Flutter 加载 Html 并实现 JS 双向交互插件,可通过url来加载网络HTML页面,也可通过String来加载本地资源目录下的静态HTML或者是接口请求回来的Html数据,Flutter 与 Html的双向调用
We analyzed this package on Feb 24, 2021, and awarded it 75 pub points (of a possible 110):
0/10 points: Provide a valid pubspec.yaml
The package description contains too many non-ASCII characters.
The site uses English as its primary language. The content of the description
field in your package's pubspec.yaml
should primarily contain characters used in English.
5/5 points: Provide a valid README.md
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` contains too many non-ASCII characters.
The site uses English as its primary language. The content of CHANGELOG.md
in your package should primarily contain characters used in English.
10/10 points: Package has an example
- Found example at:
example/lib/main.dart
10/10 points: 20% or more of the public API has dartdoc comments
- 24 out of 98 API elements (24.5 %) have documentation comments.
10/20 points: Supports 2 of 3 possible platforms (iOS, Android, Web)
Found 6 issues. Showing the first 2:
Consider supporting multiple platforms:
Package does not support Flutter platform Web
Because:
package:flutter_fai_webview/flutter_fai_webview.dart
that declares support for platforms: Android, iOS
20/30 points: code has no errors, warnings, lints, or formatting issues
Found 4 issues. Showing the first 2:
INFO: Unused import: 'native_webview_event.dart'.
lib/src/native_webview.dart:8:8
╷
8 │ import 'native_webview_event.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using pedantic and run flutter analyze lib/src/native_webview.dart
INFO: The value of the local variable 'flagHeight' isn't used.
lib/src/native_webview.dart:287:14
╷
287 │ double flagHeight = widgetPerentHeight - _dy;
│ ^^^^^^^^^^
╵
To reproduce make sure you are using pedantic and run flutter analyze lib/src/native_webview.dart
10/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 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
characters | - | 1.1.0-nullsafety.3 | 1.1.0 |
collection | - | 1.15.0-nullsafety.3 | 1.15.0 |
meta | - | 1.3.0-nullsafety.3 | 1.3.0 |
sky_engine | - | 0.0.99 | 0.0.99 |
typed_data | - | 1.3.0-nullsafety.3 | 1.3.0 |
vector_math | - | 2.1.0-nullsafety.3 | 2.1.0 |
To reproduce run pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
10/10 points: Package supports latest stable Dart and Flutter SDKs
Analysed with
Pana 0.14.10
,
Flutter 1.22.6
,
Dart 2.10.5
.