FuchsiaViewController class

*<Null safety>*

Implementers

Constructors

FuchsiaViewController ({required int viewId, FuchsiaViewConnectionCallback? onViewConnected, FuchsiaViewConnectionCallback? onViewDisconnected, FuchsiaViewConnectionStateCallback? onViewStateChanged, FuchsiaPointerEventsCallback? onPointerEvent})

Constructor.

Properties

hashCode → int

The hash code for this object. ...
read-only, inherited

onPointerEventFuchsiaPointerEventsCallback?

Callback when pointer events are dispatched on top of child view.
final

onViewConnectedFuchsiaViewConnectionCallback?

Callback when the connection to child's view is connected to view tree.
final

onViewDisconnectedFuchsiaViewConnectionCallback?

Callback when the child's view is disconnected from view tree.
final

onViewStateChangedFuchsiaViewConnectionStateCallback?

Callback when the child view's state changes.
final

platformViewChannel → dynamic

The MethodChannel used to communicate with Flutter Embedder.
@visibleForTesting, read-only

runtimeType → Type

A representation of the runtime type of the object.
read-only, inherited

viewId → int

The raw value of the ViewHolderToken where this view is attached.
final

viewport → dynamic

Returns the viewport rect of the child view in parent's coordinates. ...
read-only

Methods

clearFocus() Future<void>
connect({bool hitTestable: true, bool focusable: true}) Future<void>

Connects to the platform view given it's viewId. ...

disconnect() Future<void>

Disconnects the view from the ViewHolderToken. ...

dispatchPointerEvent(dynamic event) Future<void>

Dispatch pointer events for the child view.

dispose() Future<void>

Dispose the underlying platform view controller.

noSuchMethod(Invocation invocation) dynamic

Invoked when a non-existent method or property is accessed. ...
inherited

requestFocus(int viewRef) Future<void>

Requests that focus be transferred to the remote Scene represented by this connection.

toString() String

Returns a string representation of this object.
inherited

Operators

operator ==(Object other) bool

The equality operator. ...
inherited