canUndo bool get canUndo Whether we can undo (go back in history). Implementation bool get canUndo => _currentIndex > 0;