lazyUndoRedo<T> static method

UndoRedoBeacon<T> lazyUndoRedo<T>({
  1. T? initialValue,
  2. int historyLimit = 10,
})

Like undoRedo, but the initial value is lazily initialized.

Implementation

static UndoRedoBeacon<T> lazyUndoRedo<T>({
  T? initialValue,
  int historyLimit = 10,
}) {
  return UndoRedoBeacon<T>(
    initialValue: initialValue,
    historyLimit: historyLimit,
  );
}