resetAndPush<T extends Object?> method
After returning to the first page, you will be redirected to the newRoute
page.
最初のページに戻った後newRoute
のページに遷移します。
Implementation
Future<T?> resetAndPush<T extends Object?>(
Route<T> newRoute,
) {
return pushAndRemoveUntil(
newRoute,
(route) => false,
);
}