Class KeyEventChannel


public class KeyEventChannel extends Object
Event message channel for key events to/from the Flutter framework.

Sends key up/down events to the framework, and receives asynchronous messages from the framework about whether or not the key was handled.

  • Field Details

  • Constructor Details

    • KeyEventChannel

      public KeyEventChannel(@NonNull BinaryMessenger binaryMessenger)
      A constructor that creates a KeyEventChannel with the default message handler.
      binaryMessenger - the binary messenger used to send messages on this channel.
  • Method Details