replaceAllWithName method
remove all pages with the page with this path
and this params
Implementation
Future<void> replaceAllWithName(String name,
{Map<String, dynamic>? params}) =>
navigator.replaceAllWithName(name, params: params);