Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Instance Methods | Properties | List of all members
FakeFlutterUndoManagerDelegate Class Reference
Inheritance diagram for FakeFlutterUndoManagerDelegate:
<FlutterUndoManagerDelegate>

Instance Methods

(instancetype) - initWithUndoManager:activeTextInputView:
 
(instancetype) - initWithUndoManager:activeTextInputView: [implementation]
 
(void) - handleUndoWithDirection: [implementation]
 

Properties

NSUInteger undoCount
 
NSUInteger redoCount
 
- Properties inherited from <FlutterUndoManagerDelegate>
NSUndoManager * undoManager
 
UIView< UITextInput > * activeTextInputView
 

Detailed Description

Definition at line 26 of file FlutterUndoManagerPluginTest.mm.

Method Documentation

◆ handleUndoWithDirection:

- (void) handleUndoWithDirection: (FlutterUndoRedoDirection)  direction
implementation

Pass changes to the framework through the undo manager channel.

Reimplemented from <FlutterUndoManagerDelegate>.

Definition at line 29 of file FlutterUndoManagerPluginTest.mm.

51 :(FlutterUndoRedoDirection)direction {
52 if (direction == FlutterUndoRedoDirectionUndo) {
53 _undoCount++;
54 } else {
55 _redoCount++;
56 }
57}

◆ initWithUndoManager:activeTextInputView: [1/2]

- (instancetype) initWithUndoManager: (NSUndoManager*)  undoManager
activeTextInputView: (UIView<UITextInput>*)  activeTextInputView 
implementation

Definition at line 29 of file FlutterUndoManagerPluginTest.mm.

41 :(NSUndoManager*)undoManager
42 activeTextInputView:(UIView<UITextInput>*)activeTextInputView {
43 self = [super init];
44 if (self) {
45 _undoManager = undoManager;
46 _activeTextInputView = activeTextInputView;
47 }
48 return self;
49}
init(device_serial, adb_binary)
Definition _adb_path.py:12
UIView< UITextInput > * activeTextInputView

◆ initWithUndoManager:activeTextInputView: [2/2]

- (instancetype) initWithUndoManager: (NSUndoManager *)  undoManager
activeTextInputView: (TextInputViewTest *)  activeTextInputView 

Property Documentation

◆ redoCount

- (NSUInteger) redoCount
readatomicassign

Definition at line 29 of file FlutterUndoManagerPluginTest.mm.

◆ undoCount

- (NSUInteger) undoCount
readatomicassign

Definition at line 28 of file FlutterUndoManagerPluginTest.mm.


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