onError property

Widget Function(Object error)? onError
final

Custom error handler for module initialization failures. If not provided, shows a default error UI with retry option.

Implementation

final Widget Function(Object error)? onError;