Google is committed to advancing racial equity for Black communities. See how.

FuchsiaViewsService class

*<Null safety>*

Defines a singleton PlatformViewChannel used to create and control Fuchsia specific platform views.

Properties

hashCode → int

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

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

Methods

createView(int viewId, {bool hitTestable: true, bool focusable: true, dynamic viewOcclusionHint: Rect.zero}) Future<void>

Creates a platform view with viewId and given properties.

deregister(int viewId) void

Deregister existing MethodCall handler for a given viewId.

destroyView(int viewId) Future<void>

Destroys the platform view associated with viewId.

noSuchMethod(Invocation invocation) dynamic

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

register(int viewId, Future handler(dynamic call)) void

Register a MethodCall handler for a given viewId.

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

updateView(int viewId, {bool hitTestable: true, bool focusable: true, dynamic viewOcclusionHint: Rect.zero}) Future<void>

Updates view properties of the platform view associated with viewId.

Operators

operator ==(Object other) bool

The equality operator. ...
inherited

Static Properties

instanceFuchsiaViewsService

final