PlatformSettingsDelegate class abstract
Delegate for reading and updating the WebView settings of a single PlatformInAppWebViewController.
Part of the domain-controller split (issue #229, P3). Exposes the settings subset of PlatformInAppWebViewController behind a focused facade so the main controller stays easy to reason about.
Platform implementations override the PlatformInAppWebViewController.settingsDelegate
getter to return a concrete instance. The default getter returns null,
preserving backward compatibility for implementations that have not yet
been migrated.
- Inheritance
-
- Object
- PlatformInterface
- PlatformSettingsDelegate
Constructors
- PlatformSettingsDelegate({required Object token})
- Creates a new PlatformSettingsDelegate.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getSettings(
) → Future< InAppWebViewSettings?> -
Gets the current WebView settings. Returns
nullif it wasn't able to get them. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setSettings(
{required InAppWebViewSettings settings}) → Future< void> -
Sets the WebView settings with the new
settingsand evaluates them. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited