Flutter iOS Embedder
<FlutterUndoManagerDelegate> Protocol Reference

#import <FlutterUndoManagerDelegate.h>

Inheritance diagram for <FlutterUndoManagerDelegate>:
FakeFlutterUndoManagerDelegate FlutterEngine()

Instance Methods

(void) - handleUndoWithDirection:
 

Properties

NSUndoManager * undoManager
 
UIView< UITextInput > * activeTextInputView
 

Detailed Description

Protocol for undo manager changes from the FlutterUndoManagerPlugin, typically a FlutterEngine.

Definition at line 23 of file FlutterUndoManagerDelegate.h.

Method Documentation

◆ handleUndoWithDirection:

- (void) handleUndoWithDirection: (FlutterUndoRedoDirection)  direction

Pass changes to the framework through the undo manager channel.

Property Documentation

◆ activeTextInputView

- (UIView<UITextInput>*) activeTextInputView
readnonatomicassign

Used to notify the active view when undo manager state (can redo/can undo) changes, in order to force keyboards to update undo/redo buttons.

Definition at line 35 of file FlutterUndoManagerDelegate.h.

◆ undoManager

- (NSUndoManager*) undoManager
readnonatomicassign

The NSUndoManager that should be managed by the FlutterUndoManagerPlugin. When the delegate is FlutterEngine this will be the FlutterViewController's undo manager.

Definition at line 29 of file FlutterUndoManagerDelegate.h.


The documentation for this protocol was generated from the following file: