Package io.flutter.embedding.engine.systemchannels

## Class KeyEventChannel.FlutterKeyEvent

- java.lang.Object
- - io.flutter.embedding.engine.systemchannels.KeyEventChannel.FlutterKeyEvent

- Enclosing class:
    KeyEventChannel

      public static class KeyEventChannel.FlutterKeyEvent
      extends Object

  A key event as defined by Flutter.

- - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `Character` | `complexCharacter` | The character produced by this event, including any combining characters pressed before it.
    `KeyEvent` | `event` | The Android key event that this Flutter key event was created from.

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `FlutterKeyEvent​(KeyEvent androidKeyEvent)` |
    `FlutterKeyEvent​(KeyEvent androidKeyEvent, Character complexCharacter)` |

  - ### Method Summary

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### 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)