popAllAndPush method

  1. @override
void popAllAndPush(
  1. Widget widget, {
  2. bool renderScreen = false,
})
override

Implementation

@override
void popAllAndPush(Widget widget, {bool renderScreen = false}) {
  _stack.clear();
  push(widget, renderScreen: renderScreen);
}