public class PlatformViewsChannel extends Object
System channel that sends 2-way communication between Flutter and Android to facilitate embedding of Android Views within a Flutter application.
PlatformViewsChannel.PlatformViewsHandler to implement the Android side of this channel.
Nested Class SummaryModifier and TypeClassDescription
static interfaceAllows to notify when a platform view buffer has been resized.
static classThe platform view buffer size.
static classRequest sent from Flutter to create a new platform view.
static classRequest sent from Flutter to resize a platform view.
static interfaceHandler that receives platform view messages sent from Flutter to Android through a given
static classThe state of a touch event in Flutter within a platform view.
Method SummaryModifier and TypeMethodDescription
invokeViewFocusedpublic void invokeViewFocused
setPlatformViewsHandlerpublic void setPlatformViewsHandler
(@Nullable PlatformViewsChannel.PlatformViewsHandler handler)