errorBuilder property
final
What shows in the view's place once it has failed (onError): an
ErrorWidget unless given. retry starts again with a new view.
Implementation
final Widget Function(BuildContext context, Object error, VoidCallback retry)? errorBuilder;