redo method

void redo()

Implementation

void redo() {
  if (_redoStack.isNotEmpty) {
    final lastRedoStroke = _redoStack.removeLast();
    _strokes.add(lastRedoStroke);
    _currentStroke.clear();
    _currentPath = Path();
    _isDrawing = false;
    notifyListeners();
  }
}