resetAndPush<E> method
It keeps pop
until the history stack runs out and then push itself.
The method of page transition can be specified with transitionQuery
.
ヒストリーのスタックがなくなるまでpop
し続けた後自身をpushします。
ページ遷移の方法をtransitionQuery
で指定可能です。
Implementation
Future<E?> resetAndPush<E>(
AppRouter? router, [
TransitionQuery? transitionQuery,
]) {
if (router == null) {
return Future.value();
}
return router.resetAndPush<E>(
this,
transitionQuery,
);
}