stepBack method
Removes last line.
Implementation
bool stepBack() {
assert(!hasActivePath);
if (_paths.isNotEmpty) {
_paths.removeLast();
notifyListeners();
return true;
}
return false;
}
Removes last line.
bool stepBack() {
assert(!hasActivePath);
if (_paths.isNotEmpty) {
_paths.removeLast();
notifyListeners();
return true;
}
return false;
}