AndroidWebViewWidgetCreationParams class
Object specifying creation parameters for creating a AndroidWebViewWidget.
When adding additional fields make sure they can be null or have a default
value to avoid breaking changes. See PlatformWebViewWidgetCreationParams
for
more information.
- Annotations
Constructors
-
AndroidWebViewWidgetCreationParams({Key? key, required PlatformWebViewController controller, TextDirection layoutDirection = TextDirection.ltr, Set<
Factory< gestureRecognizers = const <Factory<OneSequenceGestureRecognizer>>{}, bool displayWithHybridComposition = false, @visibleForTesting PigeonInstanceManager? instanceManager, @visibleForTesting PlatformViewsServiceProxy platformViewsServiceProxy = const PlatformViewsServiceProxy()})OneSequenceGestureRecognizer> > -
Creates
AndroidWebWidgetCreationParams
. - AndroidWebViewWidgetCreationParams.fromPlatformWebViewWidgetCreationParams(PlatformWebViewWidgetCreationParams params, {bool displayWithHybridComposition = false, @visibleForTesting PigeonInstanceManager? instanceManager, @visibleForTesting PlatformViewsServiceProxy platformViewsServiceProxy = const PlatformViewsServiceProxy()})
-
Constructs a
WebKitWebViewWidgetCreationParams
using aPlatformWebViewWidgetCreationParams
.
Properties
- controller → PlatformWebViewController
-
The
PlatformWebViewController
that allows controlling the native web view.finalinherited - displayWithHybridComposition → bool
-
Whether the
WebView
will be displayed using the Hybrid Composition PlatformView implementation.final -
gestureRecognizers
→ Set<
Factory< OneSequenceGestureRecognizer> > -
The
gestureRecognizers
specifies which gestures should be consumed by the web view.finalinherited - hashCode → int
-
The hash code for this object.
no setteroverride
- instanceManager → PigeonInstanceManager
-
Maintains instances used to communicate with the native objects they
represent.
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- layoutDirection → TextDirection
-
The layout direction to use for the embedded WebView.
finalinherited
- platformViewsServiceProxy → PlatformViewsServiceProxy
-
Proxy that provides access to the platform views service.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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.
override