5#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTERUNDOMANAGERDELEGATE_H_
6#define FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTERUNDOMANAGERDELEGATE_H_
8#import <Foundation/Foundation.h>
12typedef NS_ENUM(NSInteger, FlutterUndoRedoDirection) {
14 FlutterUndoRedoDirectionUndo,
15 FlutterUndoRedoDirectionRedo,
23@protocol FlutterUndoManagerDelegate <NSObject>
29@property(nonatomic, readonly, nullable) NSUndoManager* undoManager;
35@property(nonatomic, readonly, nullable) UIView<UITextInput>* activeTextInputView;
40- (void)handleUndoWithDirection:(FlutterUndoRedoDirection)direction;
#define NS_ASSUME_NONNULL_BEGIN
#define NS_ASSUME_NONNULL_END
NS_ASSUME_NONNULL_BEGIN typedef NS_ENUM(NSInteger, FlutterUndoRedoDirection)