FuchsiaViewConnection class

*<Null safety>*

Inheritance

Constructors

FuchsiaViewConnection (dynamic viewHolderToken, {dynamic viewRef, FuchsiaViewConnectionCallback? onViewConnected, FuchsiaViewConnectionCallback? onViewDisconnected, FuchsiaViewConnectionStateCallback? onViewStateChanged, bool usePointerInjection: false})

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, inherited

onViewConnectedFuchsiaViewConnectionCallback?

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

onViewDisconnectedFuchsiaViewConnectionCallback?

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

onViewStateChangedFuchsiaViewConnectionStateCallback?

Callback when the child view's state changes.
final, inherited

platformViewChannel → dynamic

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

pointerInjector → PointerInjector

Returns the PointerInjector instance used by this connection.
@visibleForTesting, read-only

runtimeType → Type

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

startupContextStartupContext

Returns the StartupContext used to connect to required services.
@visibleForTesting, read-only

usePointerInjection → bool

Set to true if pointer injection into child views should be enabled. This requires the view's ViewRef to be set during construction.
final

viewHolderToken → dynamic

The scenic view tree token when the view is attached.
final

viewId → int

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

viewport → dynamic

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

viewRef → dynamic

The handle to the view used for requestFocus calls.
final

Methods

clearFocus() Future<void>

inherited

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

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

disconnect() Future<void>

Disconnects the view from the ViewHolderToken. ...
inherited

dispatchPointerEvent(dynamic event) Future<void>

Dispatch pointer events for the child view.
inherited

dispose() Future<void>

Dispose the underlying platform view controller.
inherited

noSuchMethod(Invocation invocation) dynamic

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

requestFocus([int _]) Future<void>

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

toString() String

Returns a string representation of this object.
inherited

Operators

operator ==(Object other) bool

The equality operator. ...
inherited