errorBuilder property

Widget Function(BuildContext context, Object error, StackTrace stackTrace, Object? progress) errorBuilder
final

Built when the initialization failed.

The last argument is the progress the scope had reached when it failed.

Implementation

final Widget Function(
  BuildContext context,
  Object error,
  StackTrace stackTrace,
  Object? progress,
) errorBuilder;