navigate<T, T2> method
void
navigate<T, T2>(
Navigates to a new page. Specify the page key, type of your state, and type argument for your router delegate
Implementation
void navigate<T, T2>(
ValueKey<String> key, {
Object? arguments,
Object? pageScope,
}) =>
get<PapilioRouterDelegate<T2>>()
.navigate<T>(key, arguments: arguments, pageScope: pageScope);