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

awaitingCreation bool
True if create has not been successfully called the platform view.
read-only
hashCode int
The hash code for this object.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
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