onError property

(Widget Function(BuildContext context, Object? error)?) onError
final

Callback invoked if stream is not null and it ends in error

Implementation

final Widget Function(BuildContext context, Object? error)? onError;