build method
Creates the Widget for this route.
Subclasses must override one of build, buildPage, or
redirect.
Corresponds to GoRoute.builder.
Implementation
Widget build(BuildContext context, GoRouterState state) =>
throw UnimplementedError('One of `build` or `buildPage` must be implemented.');