Class KeyEventChannel.FlutterKeyEvent

Enclosing class:

public static class KeyEventChannel.FlutterKeyEvent extends Object
A key event as defined by Flutter.
  • Field Details

    • event

      public final KeyEvent event
      The Android key event that this Flutter key event was created from.

      This event is used to identify pending events when results are received from the framework.

    • complexCharacter

      @Nullable public final Character complexCharacter
      The character produced by this event, including any combining characters pressed before it.
  • Constructor Details

    • FlutterKeyEvent

      public FlutterKeyEvent(@NonNull KeyEvent androidKeyEvent)
    • FlutterKeyEvent

      public FlutterKeyEvent(@NonNull KeyEvent androidKeyEvent, @Nullable Character complexCharacter)