buildPage method
A page builder for this route.
Subclasses can override this function to provide a custom Page.
Subclasses must override one of build, buildPage or redirect.
Corresponds to GoRoute.pageBuilder.
By default, returns a Page instance that is ignored, causing a default Page implementation to be used with the results of build.
Implementation
Page<void> buildPage(BuildContext context, GoRouterState state) =>
const NoOpPage();