HistoryManager class
历史记录管理器 负责管理编辑历史,支持撤销和回退功能
Constructors
Properties
Methods
-
clear(
) → void - 清空所有历史记录
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
popSnapshot(
) → EditorStateSnapshot? - 获取最后一个快照并移除
-
saveSnapshot(
{required Image image, required List< TextLayerData> textLayers, required double rotationAngle, required double scale}) → void - 保存当前状态到历史快照
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- maxHistorySize → const int