push method
Push a route onto the stack
expanded will push sub-paths (e.g. /a/b/c will push /a, /a/b, /a/b/c
)
Implementation
@override
void push(String path, {bool expanded = false}) {
if (expanded) {
_pushExpandedPath(path);
} else {
_addPath(DartBoardPath(path, initialPath));
}
notifyListeners();
}