Class KeyEventChannel.FlutterKeyEvent

  • Enclosing class:
    KeyEventChannel

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

      • 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 Detail

      • FlutterKeyEvent

        public FlutterKeyEvent​(@NonNull
                               KeyEvent androidKeyEvent)
      • FlutterKeyEvent

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