Removes last Path. returns removed CubicPath.
CubicPath? stepBack() { if (_paths.isNotEmpty) { final path = _paths.removeLast(); notifyListeners(); return path; } return null; }