allofresh_browser 1.0.0
allofresh_browser: ^1.0.0 copied to clipboard
AFBrowser is an enhanced in-app browser package built upon the foundation of the webview_flutter. Support webview for both Android & iOS.
We analyzed this package 19 hours 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
.
10/10 points: 20% or more of the public API has dartdoc comments
8 out of 38 API elements (21.1 %) have documentation comments.
Some symbols that are missing documentation: allofresh_browser
, allofresh_browser.AFBrowser
, allofresh_browser.AFBrowser.AFBrowser.new
, allofresh_browser.AFBrowser.param
, allofresh_browser.AFBrowserCloseButtonType
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ macOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:allofresh_browser/allofresh_browser.dart
that imports:package:allofresh_browser/src/entity/webview_flutter_java_script_message.dart
that imports:package:webview_flutter/webview_flutter.dart
that declares support for platforms:Android
,iOS
,macOS
.
Package does not support platform `Linux`.
Because:
package:allofresh_browser/allofresh_browser.dart
that imports:package:allofresh_browser/src/entity/webview_flutter_java_script_message.dart
that imports:package:webview_flutter/webview_flutter.dart
that declares support for platforms:Android
,iOS
,macOS
.
Package does not support platform `Web`.
Because:
package:allofresh_browser/allofresh_browser.dart
that imports:package:allofresh_browser/src/entity/webview_flutter_java_script_message.dart
that imports:package:webview_flutter/webview_flutter.dart
that declares support for platforms:Android
,iOS
,macOS
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:allofresh_browser/allofresh_browser.dart
that imports:package:allofresh_browser/src/browser/af_browser.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.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 6 issues. Showing the first 2:
INFO: 'onPopInvoked' is deprecated and shouldn't be used. Use onPopInvokedWithResult instead. This feature was deprecated after v3.22.0-12.0.pre.
lib/src/browser/af_browser.dart:72:7
╷
72 │ onPopInvoked: (didPopped) async {
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/browser/af_browser.dart
INFO: Don't use 'BuildContext's across async gaps, guarded by an unrelated 'mounted' check.
lib/src/browser/af_browser.dart:79:11
╷
79 │ context.pop();
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/browser/af_browser.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
dio |
^4.0.6 |
4.0.6 | 5.9.0 | |
equatable |
^2.0.5 |
2.0.7 | 2.0.7 | |
go_router |
^14.2.1 |
14.8.1 | 16.2.4 | |
json_annotation |
^4.7.0 |
4.9.0 | 4.9.0 | |
json_serializable |
^6.5.4 |
6.11.1 | 6.11.1 | |
mocktail |
^1.0.0 |
1.0.4 | 1.0.4 | |
rxdart |
^0.27.7 |
0.27.7 | 0.28.0 | |
url_launcher |
^6.1.11 |
6.3.2 | 6.3.2 | |
webview_flutter |
^4.2.2 |
4.13.0 | 4.13.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
_fe_analyzer_shared |
- | 90.0.0 | 90.0.0 | |
analyzer |
- | 8.3.0 | 8.3.0 | |
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.0 | 2.13.0 | |
boolean_selector |
- | 2.1.2 | 2.1.2 | |
build |
- | 4.0.2 | 4.0.2 | |
build_config |
- | 1.2.0 | 1.2.0 | |
characters |
- | 1.4.0 | 1.4.1 | |
checked_yaml |
- | 2.0.4 | 2.0.4 | |
collection |
- | 1.19.1 | 1.19.1 | |
convert |
- | 3.1.2 | 3.1.2 | |
crypto |
- | 3.0.6 | 3.0.6 | |
dart_style |
- | 3.1.2 | 3.1.2 | |
file |
- | 7.0.1 | 7.0.1 | |
glob |
- | 2.1.3 | 2.1.3 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
logging |
- | 1.3.0 | 1.3.0 | |
matcher |
- | 0.12.17 | 0.12.17 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
package_config |
- | 2.2.0 | 2.2.0 | |
path |
- | 1.9.1 | 1.9.1 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
pub_semver |
- | 2.2.0 | 2.2.0 | |
pubspec_parse |
- | 1.5.0 | 1.5.0 | |
source_gen |
- | 4.0.2 | 4.0.2 | |
source_helper |
- | 1.3.8 | 1.3.8 | |
source_span |
- | 1.10.1 | 1.10.1 | |
stack_trace |
- | 1.12.1 | 1.12.1 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
test_api |
- | 0.7.7 | 0.7.7 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
url_launcher_android |
- | 6.3.24 | 6.3.24 | |
url_launcher_ios |
- | 6.3.4 | 6.3.4 | |
url_launcher_linux |
- | 3.2.1 | 3.2.1 | |
url_launcher_macos |
- | 3.2.3 | 3.2.3 | |
url_launcher_platform_interface |
- | 2.3.2 | 2.3.2 | |
url_launcher_web |
- | 2.4.1 | 2.4.1 | |
url_launcher_windows |
- | 3.1.4 | 3.1.4 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
watcher |
- | 1.1.4 | 1.1.4 | |
web |
- | 1.1.1 | 1.1.1 | |
webview_flutter_android |
- | 4.10.5 | 4.10.5 | |
webview_flutter_platform_interface |
- | 2.14.0 | 2.14.0 | |
webview_flutter_wkwebview |
- | 3.23.1 | 3.23.1 | |
yaml |
- | 3.1.3 | 3.1.3 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
Found 3 issues. Showing the first 2:
The constraint `^4.0.6` on dio does not support the stable version `5.0.0`.
Try running dart pub upgrade --major-versions dio
to update the constraint.
The constraint `^14.2.1` on go_router does not support the stable version `15.0.0`.
Try running dart pub upgrade --major-versions go_router
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.24
, Flutter 3.35.5
, Dart 3.9.2
.
Check the analysis log for details.