web_browser 0.7.4 web_browser: ^0.7.4 copied to clipboard
A web browser widget. Unlike webview_flutter, comes with cross-platform navigation and URL sharing widgets. Works in Android, iOS, browsers, and other platforms.
We analyzed this package 5 days ago, and awarded it 140 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: Apache-2.0
.
10/10 points: 20% or more of the public API has dartdoc comments
105 out of 138 API elements (76.1 %) have documentation comments.
Some symbols that are missing documentation: web_browser.BrowserController.policy
, web_browser.BrowserState.isBottomShareDialogOpen
, web_browser.auto.AutoBrowserBottomShareDialog.isOpen
, web_browser.basic.BasicBrowserAddressField.maxDomainCodePoints
, web_browser.basic.BasicBrowserBottomDialog.children
.
10/10 points: Package has 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:web_browser/web_browser.dart
that imports:package:web_browser/src/web_browser/browser_localizations.dart
that imports:package:web_browser/src/web_browser/browser.dart
that imports:package:web_browser/basic.dart
that imports:package:web_browser/src/basic/basic_browser_error_widget.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:web_browser/web_browser.dart
that imports:package:web_browser/src/web_browser/browser_localizations.dart
that imports:package:web_browser/src/web_browser/browser.dart
that imports:package:web_browser/basic.dart
that imports:package:web_browser/src/basic/basic_browser_error_widget.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:web_browser/web_browser.dart
that imports:package:web_browser/src/web_browser/browser_localizations.dart
that imports:package:web_browser/src/web_browser/browser.dart
that imports:package:web_browser/basic.dart
that imports:package:web_browser/src/basic/basic_browser_error_widget.dart
that imports:package:webview_flutter/webview_flutter.dart
that declares support for platforms:Android
,iOS
,macOS
.
These issues are present but do not affect the score, because they may not originate in your package:
Package does not support platform `Android`.
Because:
package:web_browser/web_browser.dart
that imports:package:web_browser/src/web_browser/browser_localizations.dart
that imports:package:web_browser/src/web_browser/browser.dart
that imports:package:share_plus/share_plus.dart
that imports:package:share_plus/src/share_plus_windows.dart
that imports:package:url_launcher_windows/url_launcher_windows.dart
that declares support for platforms:Windows
.
Package does not support platform `iOS`.
Because:
package:web_browser/web_browser.dart
that imports:package:web_browser/src/web_browser/browser_localizations.dart
that imports:package:web_browser/src/web_browser/browser.dart
that imports:package:share_plus/share_plus.dart
that imports:package:share_plus/src/share_plus_windows.dart
that imports:package:url_launcher_windows/url_launcher_windows.dart
that declares support for platforms:Windows
.
Package does not support platform `macOS`.
Because:
package:web_browser/web_browser.dart
that imports:package:web_browser/src/web_browser/browser_localizations.dart
that imports:package:web_browser/src/web_browser/browser.dart
that imports:package:share_plus/share_plus.dart
that imports:package:share_plus/src/share_plus_windows.dart
that imports:package:url_launcher_windows/url_launcher_windows.dart
that declares support for platforms:Windows
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:web_browser/web_browser.dart
that imports:package:web_browser/src/web_browser/browser_localizations.dart
that imports:package:web_browser/src/web_browser/browser.dart
that imports:package:share_plus/share_plus.dart
that imports:package:share_plus/src/share_plus_windows.dart
that imports:package:share_plus_platform_interface/share_plus_platform_interface.dart
that imports:package:share_plus_platform_interface/platform_interface/share_plus_platform.dart
that imports:package:share_plus_platform_interface/method_channel/method_channel_share.dart
that imports:package:path_provider/path_provider.dart
that imports:package:path_provider_platform_interface/path_provider_platform_interface.dart
that imports:package:path_provider_platform_interface/src/method_channel_path_provider.dart
that imports:package:platform/platform.dart
that imports:package:platform/src/interface/local_platform.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.
40/50 points: code has no errors, warnings, lints, or formatting issues
INFO: 'textScaleFactor' is deprecated and shouldn't be used. Use textScaler instead. Use of textScaleFactor was deprecated in preparation for the upcoming nonlinear text scaling support. This feature was deprecated after v3.12.0-2.0.pre.
lib/src/basic/basic_browser_address_field.dart:122:13
╷
122 │ textScaleFactor: 1.2,
│ ^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/basic/basic_browser_address_field.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
cupertino_icons |
^1.0.2 |
1.0.8 | 1.0.8 |
flutter |
flutter |
0.0.0 | 0.0.0 |
share_plus |
^6.3.1 |
6.3.4 | 10.1.2 |
webview_flutter |
^4.0.6 |
4.9.0 | 4.10.0 |
webview_flutter_android |
^3.4.2 |
3.16.9 | 4.0.2 |
webview_flutter_web |
^0.2.2+1 |
0.2.3+4 | 0.2.3+4 |
webview_flutter_wkwebview |
^3.2.1 |
3.16.2 | 3.16.2 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
characters |
- | 1.3.0 | 1.3.1 |
collection |
- | 1.18.0 | 1.19.1 |
cross_file |
- | 0.3.4+2 | 0.3.4+2 |
crypto |
- | 3.0.6 | 3.0.6 |
ffi |
- | 2.1.3 | 2.1.3 |
file |
- | 6.1.4 | 7.0.1 |
fixnum |
- | 1.1.1 | 1.1.1 |
flutter_web_plugins |
- | 0.0.0 | 0.0.0 |
material_color_utilities |
- | 0.11.1 | 0.12.0 |
meta |
- | 1.15.0 | 1.16.0 |
mime |
- | 1.0.6 | 2.0.0 |
path |
- | 1.9.1 | 1.9.1 |
path_provider |
- | 2.1.5 | 2.1.5 |
path_provider_android |
- | 2.2.12 | 2.2.12 |
path_provider_foundation |
- | 2.4.0 | 2.4.0 |
path_provider_linux |
- | 2.2.1 | 2.2.1 |
path_provider_platform_interface |
- | 2.1.2 | 2.1.2 |
path_provider_windows |
- | 2.3.0 | 2.3.0 |
platform |
- | 3.1.6 | 3.1.6 |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 |
share_plus_platform_interface |
- | 3.4.0 | 5.0.1 |
sky_engine |
- | 0.0.99 | 0.0.99 |
sprintf |
- | 7.0.0 | 7.0.0 |
typed_data |
- | 1.4.0 | 1.4.0 |
url_launcher_linux |
- | 3.2.1 | 3.2.1 |
url_launcher_platform_interface |
- | 2.3.2 | 2.3.2 |
url_launcher_web |
- | 2.3.3 | 2.3.3 |
url_launcher_windows |
- | 3.1.3 | 3.1.3 |
uuid |
- | 4.5.1 | 4.5.1 |
vector_math |
- | 2.1.4 | 2.1.4 |
web |
- | 1.1.0 | 1.1.0 |
webview_flutter_platform_interface |
- | 2.10.0 | 2.10.0 |
win32 |
- | 3.1.4 | 5.8.0 |
xdg_directories |
- | 1.1.0 | 1.1.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^6.3.1` on share_plus does not support the stable version `7.0.0`.
Try running dart pub upgrade --major-versions share_plus
to update the constraint.
The constraint `^3.4.2` on webview_flutter_android does not support the stable version `4.0.0`.
Try running dart pub upgrade --major-versions webview_flutter_android
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.4
, Dart 3.5.4
.
Check the analysis log for details.