IframeWeb class
A web implementation of the IframePlatform of the Iframe plugin.
- Inheritance
-
- Object
- PlatformInterface
- IframePlatform
- IframeWeb
Constructors
- IframeWeb()
- Constructs a IframeWeb
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
-
create(
{required String url, double? width, double? height, String? allow, String? sandbox, String? referrerPolicy, String? loading}) → Future< String?> -
Creates an iframe with the specified URL and properties.
override
-
executeScript(
String script) → Future< String?> -
Executes JavaScript code in the iframe context.
override
-
getCurrentUrl(
) → Future< String?> -
Gets the current URL of the iframe.
override
-
getPlatformVersion(
) → Future< String?> -
Returns a String containing the version of the platform.
override
-
Navigates the iframe to a new URL.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reload(
) → Future< String?> -
Reloads the iframe content.
override
-
setVisible(
bool visible) → Future< void> -
Sets the visibility of the iframe.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
registerWith(
Registrar registrar) → void