PlatformViewController class Null safety

An interface for controlling a single platform view.

Used by PlatformViewSurface to interface with the platform view it embeds.

Implementers

Constructors

PlatformViewController()

Properties

hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
viewId int
The viewId associated with this controller.
read-only

Methods

clearFocus() Future<void>
Clears the view's focus on the platform side.
create({Size? size}) Future<void>
Creates the platform view with the initial size.
dispatchPointerEvent(PointerEvent event) Future<void>
Dispatches the event to the platform view.
dispose() Future<void>
Disposes the platform view.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited