PlatformViewController class abstract

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.
no setter
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
viewId → int
The viewId associated with this controller.
no setter

Methods

clearFocus() → Future<void>
Clears the view's focus on the platform side.
create({Size? size, Offset? position}) → 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 nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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