PlatformInAppWebViewWidget class abstract
Interface for a platform implementation of a web view widget.
Flutter Widget for adding an inline native WebView integrated in the flutter widget tree.
- Inheritance
-
- Object
- PlatformInterface
- PlatformInAppWebViewWidget
- Implemented types
Constructors
- PlatformInAppWebViewWidget(PlatformInAppWebViewWidgetCreationParams params)
-
Creates a new PlatformInAppWebViewWidget
factory
- PlatformInAppWebViewWidget.implementation(PlatformInAppWebViewWidgetCreationParams params)
- Used by the platform implementation to create a new PlatformInAppWebViewWidget.
- PlatformInAppWebViewWidget.static()
-
Creates a new PlatformInAppWebViewWidget to access static methods.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- params → PlatformInAppWebViewWidgetCreationParams
-
The parameters used to initialize the PlatformInAppWebViewWidget.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
build(
BuildContext context) → Widget - Builds a new WebView.
-
controllerFromPlatform<
T> (PlatformInAppWebViewController controller) → T -
Gets the
InAppWebViewControllerinstance controller -
dispose(
) → void -
override
-
isClassSupported(
{TargetPlatform? platform}) → bool -
Check if the current class is supported by the defaultTargetPlatform or a specific
platform. -
isPropertySupported(
dynamic property, {TargetPlatform? platform}) → bool -
Check if the given
propertyis supported by the defaultTargetPlatform or a specificplatform. The property should be one of the PlatformWebViewCreationParamsProperty or PlatformInAppWebViewWidgetCreationParamsProperty values. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited