Class PlatformViewsChannel


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.

Register a PlatformViewsChannel.PlatformViewsHandler to implement the Android side of this channel.

  • Constructor Details

    • PlatformViewsChannel

      public PlatformViewsChannel(@NonNull DartExecutor dartExecutor)
      Constructs a PlatformViewsChannel that connects Android to the Dart code running in dartExecutor.

      The given dartExecutor is permitted to be idle or executing code.

      See DartExecutor.

  • Method Details