Class KeyEventChannel.FlutterKeyEvent

  • Enclosing class:

    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

        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,
                               Character complexCharacter)