buildRoute abstract method
Builds a Widget for the given route url or id. This is used for top-level documents called routes. These could represent a page, dialog or a conditional-route.
Implementation
Widget buildRoute(BuildContext context, {Uri? url, String? routeId});