errorBuilder property
A builder function that returns a widget to display in case of an error.
It provides the context, the error
object, and an optional stack
trace.
Implementation
final Widget Function(BuildContext context, Object error, StackTrace? stack)?
errorBuilder;