RouteErrorViewBuilder typedef

RouteErrorViewBuilder = Widget Function(BuildContext context, {dynamic error, VoidCallback? onRetry, String? retryLabel, StackTrace? stackTrace, String? subtitle, required String title})

A builder for a route error view widget.

Implementation

typedef RouteErrorViewBuilder = Widget Function(
  BuildContext context, {
  required String title,
  String? retryLabel,
  VoidCallback? onRetry,
  dynamic error,
  StackTrace? stackTrace,
  String? subtitle,
});