errorRoute property
Name of the route to open when page loading encounters an error.
This is optional, if you don't define a errorRoute, framework will show a blank widget which you can override by providing your own widget in errorPlaceholderWidget.
Implementation
final String? errorRoute;