HistoryPanel constructor
HistoryPanel({
- String title = 'History',
- List<
HistoryEntry> undoItems = const [], - List<
HistoryEntry> redoItems = const [], - HistoryPanelMode mode = HistoryPanelMode.compact,
- int compactLimit = 5,
- String markerText = '─── current ───',
- String undoIcon = '↶ ',
- String redoIcon = '↷ ',
- Style? titleStyle,
- Style? undoStyle,
- Style? redoStyle,
- Style? markerStyle,
- Color? background,
- EdgeInsets? padding,
- Key? key,
Implementation
HistoryPanel({
this.title = 'History',
this.undoItems = const [],
this.redoItems = const [],
this.mode = HistoryPanelMode.compact,
this.compactLimit = 5,
this.markerText = '─── current ───',
this.undoIcon = '↶ ',
this.redoIcon = '↷ ',
this.titleStyle,
this.undoStyle,
this.redoStyle,
this.markerStyle,
this.background,
this.padding,
super.key,
});