navigateBack method
Pops until last item in stack.
Returns true
if there is nothing to pop.
Implementation
bool navigateBack() {
if (canPop) {
pop();
return false;
}
return true;
}
Pops until last item in stack.
Returns true
if there is nothing to pop.
bool navigateBack() {
if (canPop) {
pop();
return false;
}
return true;
}