5 #ifndef FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERKEYBOARDMANAGER_H_
6 #define FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERKEYBOARDMANAGER_H_
8 #import <Cocoa/Cocoa.h>
11 #import "flutter/shell/platform/embedder/embedder.h"
23 - (void)sendKeyEvent:(const FlutterKeyEvent&)event
24 callback:(nullable FlutterKeyEventCallback)callback
25 userData:(nullable
void*)userData;
57 - (BOOL)onTextInputKeyEvent:(nonnull NSEvent*)event;
94 - (void)handleEvent:(nonnull NSEvent*)event
104 - (BOOL)isDispatchingKeyEvent:(nonnull NSEvent*)event;
112 - (void)syncModifiersIfNeeded:(NSEventModifierFlags)modifierFlags
113 timestamp:(NSTimeInterval)timestamp;
132 #endif // FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERKEYBOARDMANAGER_H_