embed_webview 0.0.2 icon indicating copy to clipboard operation
embed_webview: ^0.0.2 copied to clipboard

A widget that display webview content inner flutter widget. It can change it's size automatically to fit the children.

3
likes
100/ 130
pub points
48%
popularity

We analyzed this package 4 days ago, and awarded it 100 pub points (of a possible 130):

icon indicating section status
Follow Dart file conventions
20 / 20icon to trigger 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

icon indicating section status
Provide documentation
10 / 20icon to trigger folding of the section

10/10 points: Package has an example

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

  • 2 out of 18 API elements (11.1 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

icon indicating section status
Platform support
20 / 20icon to trigger folding of the section

20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, MacOS, Linux)

  • ✓ Android
  • ✓ iOS
  • ✓ Web

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:embed_webview/embed_webview.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `Linux`.

Because:

  • package:embed_webview/embed_webview.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `macOS`.

Because:

  • package:embed_webview/embed_webview.dart that declares support for platforms: Android, iOS, Web.

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:embed_webview/embed_webview.dart that imports:
  • package:embed_webview/src/embed_webview.dart that imports:
  • package:embed_webview/src/embed_webview_stub.dart that imports:
  • package:embed_webview/src/flutter_webview_4_android_ios.dart that imports:
  • package:webview_flutter/webview_flutter.dart that imports:
  • package:webview_flutter/src/webview.dart that imports:
  • package:webview_flutter_wkwebview/webview_flutter_wkwebview.dart that declares support for platforms: iOS.
Package does not support platform `iOS`.

Because:

  • package:embed_webview/embed_webview.dart that imports:
  • package:embed_webview/src/embed_webview.dart that imports:
  • package:embed_webview/src/embed_webview_stub.dart that imports:
  • package:embed_webview/src/flutter_webview_4_android_ios.dart that imports:
  • package:webview_flutter/webview_flutter.dart that imports:
  • package:webview_flutter/src/webview.dart that imports:
  • package:webview_flutter_android/webview_surface_android.dart that declares support for platforms: Android.
icon indicating section status
Pass static analysis
10 / 30icon to trigger folding of the section

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

Found 8 issues. Showing the first 2:

WARNING: The receiver can't be null, so the null-aware operator '?.' is unnecessary.

lib/src/embed_webview.dart:93:28

   ╷
93 │     WidgetsBinding.instance?.addPostFrameCallback((_) {
   │                            ^^
   ╵

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

INFO: 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: EmbedWebView.webViewContent, EmbedWebView.width, EmbedWebView.maxHeight, EmbedWebView.fontSize, EmbedWebView.backgroundColor, EmbedWebView.lineHeight, EmbedWebView.forceExpandImageWidget

lib/src/embed_webview.dart:29:7

   ╷
29 │ class EmbedWebView extends StatefulWidget {
   │       ^^^^^^^^^^^^
   ╵

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

icon indicating section status
Support up-to-date dependencies
20 / 20icon to trigger folding of the section

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

PackageConstraintCompatibleLatest
flutterflutter0.0.00.0.0
webview_flutter^3.0.23.0.43.0.4
Transitive dependencies
PackageConstraintCompatibleLatest
characters-1.2.01.2.1
collection-1.16.01.16.0
material_color_utilities-0.1.40.1.5
meta-1.7.01.8.0
path-1.8.21.8.2
plugin_platform_interface-2.1.22.1.2
sky_engine-0.0.990.0.99
vector_math-2.1.22.1.2
webview_flutter_android-2.8.142.8.14
webview_flutter_platform_interface-1.9.11.9.1
webview_flutter_wkwebview-2.8.12.8.1

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

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

icon indicating section status
Support sound null safety
20 / 20icon to trigger folding of the section

20/20 points: Package and dependencies are fully migrated to null safety!

Analysed with Pana 0.21.13, Flutter 3.0.3, Dart 2.17.5.

3
likes
100
pub points
48%
popularity

Publisher

verified publisher iconxiaoyong.ml

A widget that display webview content inner flutter widget. It can change it's size automatically to fit the children.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Icon for licenses.Apache-2.0 (LICENSE)

Dependencies

flutter, webview_flutter

More

Packages that depend on embed_webview