buildRoute 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
@override
Widget buildRoute(BuildContext context, {Uri? url, String? routeId}) {
final routeDetail = [
if (url != null) 'Url: $url',
if (routeId != null) 'RouteId: $routeId',
].join('');
return vyuh.widgetBuilder.routeErrorView(
context,
title: messages['title']!(''),
error: messages['error']!(routeDetail),
);
}