web_browser 0.7.4 copy "web_browser: ^0.7.4" to clipboard
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.

68
likes
120/ 140
pub points
89%
popularity

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

OK
Follow Dart file conventions
30 / 30trigger folding of the section

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.

OK
Provide documentation
20 / 20trigger folding of the section

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

OK
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: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.
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.
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: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.
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.

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.
partial
Pass static analysis
40 / 50trigger folding of the section

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

failed
Support up-to-date dependencies
10 / 20trigger folding of the section

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.6 1.0.6
flutter flutter 0.0.0 0.0.0
share_plus ^6.3.1 6.3.4 8.0.2
webview_flutter ^4.0.6 4.7.0 4.7.0
webview_flutter_android ^3.4.2 3.16.0 3.16.0
webview_flutter_web ^0.2.2+1 0.2.2+4 0.2.2+4
webview_flutter_wkwebview ^3.2.1 3.13.0 3.13.0
Transitive dependencies
Package Constraint Compatible Latest
characters - 1.3.0 1.3.0
collection - 1.18.0 1.18.0
cross_file - 0.3.4+1 0.3.4+1
crypto - 3.0.3 3.0.3
ffi - 2.1.2 2.1.2
file - 6.1.4 7.0.0
fixnum - 1.1.0 1.1.0
flutter_web_plugins - 0.0.0 0.0.0
material_color_utilities - 0.8.0 0.11.1
meta - 1.11.0 1.12.0
mime - 1.0.5 1.0.5
path - 1.9.0 1.9.0
path_provider - 2.1.2 2.1.2
path_provider_android - 2.2.2 2.2.2
path_provider_foundation - 2.3.2 2.3.2
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.2.1 2.2.1
platform - 3.1.4 3.1.4
plugin_platform_interface - 2.1.8 2.1.8
share_plus_platform_interface - 3.4.0 3.4.0
sky_engine - 0.0.99 0.0.99
sprintf - 7.0.0 7.0.0
typed_data - 1.3.2 1.3.2
url_launcher_linux - 3.1.1 3.1.1
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.3.0 2.3.0
url_launcher_windows - 3.1.1 3.1.1
uuid - 4.3.3 4.3.3
vector_math - 2.1.4 2.1.4
web - 0.5.1 0.5.1
webview_flutter_platform_interface - 2.10.0 2.10.0
win32 - 3.1.4 5.3.0
xdg_directories - 1.0.4 1.0.4

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.

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

Analyzed with Pana 0.22.2, Flutter 3.19.2, Dart 3.3.0.

Check the analysis log for details.

68
likes
120
pub points
89%
popularity

Publisher

verified publisherdint.dev

A web browser widget. Unlike webview_flutter, comes with cross-platform navigation and URL sharing widgets. Works in Android, iOS, browsers, and other platforms.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (LICENSE)

Dependencies

cupertino_icons, flutter, share_plus, webview_flutter, webview_flutter_android, webview_flutter_web, webview_flutter_wkwebview

More

Packages that depend on web_browser