undoStackModifier property

(T Function(T value)?) undoStackModifier
final

Called right before a new entry is pushed to the undo stack.

The value returned from this method will be pushed to the stack instead of the original value.

If null then the original value will always be pushed to the stack.

Implementation

final T Function(T value)? undoStackModifier;