UndoHistory<T> constructor
- Key? key,
- bool shouldChangeUndoStack(
- T? oldValue,
- T newValue
- required ValueNotifier<
T> value, - required void onTriggered(
- T value
- required FocusNode focusNode,
- T undoStackModifier(
- T value
- UndoHistoryController? controller,
- required Widget child,
Creates an instance of UndoHistory.
Implementation
const UndoHistory({
super.key,
this.shouldChangeUndoStack,
required this.value,
required this.onTriggered,
required this.focusNode,
this.undoStackModifier,
this.controller,
required this.child,
});