Future<bool> popToRoot() { if (_stack.isEmpty) { return SynchronousFuture(false); } _stack.removeRange(1, _stack.length); _update(); return SynchronousFuture(true); }