onError property
Callback invoked if stream is not null and it ends in error
Implementation
final Widget Function(BuildContext context, Object? error)? onError;
Callback invoked if stream is not null and it ends in error
final Widget Function(BuildContext context, Object? error)? onError;