handleBackPress method
Calls the newest back handler, if any, and returns whether one ran.
Implementation
bool handleBackPress() {
if (_backHandlers.isEmpty) return false;
_backHandlers.last();
return true;
}
Calls the newest back handler, if any, and returns whether one ran.
bool handleBackPress() {
if (_backHandlers.isEmpty) return false;
_backHandlers.last();
return true;
}