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>
12 typedef NS_ENUM(NSInteger, FlutterUndoRedoDirection) {
14 FlutterUndoRedoDirectionUndo,
15 FlutterUndoRedoDirectionRedo,
29 @property(nonatomic, readonly, nullable) NSUndoManager*
undoManager;
40 - (void)handleUndoWithDirection:(FlutterUndoRedoDirection)direction;
45 #endif // FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTERUNDOMANAGERDELEGATE_H_