Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Instance Methods | Properties | List of all members
<FlutterUndoManagerDelegate> Protocol Reference

#include <FlutterUndoManagerDelegate.h>

Inheritance diagram for <FlutterUndoManagerDelegate>:
FakeFlutterUndoManagerDelegate FlutterEngine FlutterEnginePartialMock FlutterEngineSpy FlutterHeadlessDartRunner MockableFlutterEngine

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.

Reimplemented in FlutterEngine, and FakeFlutterUndoManagerDelegate.

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.

Reimplemented in FlutterEngine.

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.

Reimplemented in FlutterEngine.

Definition at line 29 of file FlutterUndoManagerDelegate.h.


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