client property

UndoManagerClient? client

Return the current UndoManagerClient.

Implementation

static UndoManagerClient? get client => _instance._currentClient;
void client=(UndoManagerClient? client)

Receive undo and redo events from the system's UndoManager.

Setting the client will cause UndoManagerClient.handlePlatformUndo to be called when a system undo or redo is triggered, such as by tapping the undo/redo keyboard buttons or using the 3-finger swipe gestures.

Implementation

static set client(UndoManagerClient? client) {
  _instance._currentClient = client;
}