*[<Null safety>](https://dart.dev/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.
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
.
toString() String
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
instance → FuchsiaViewsService
final