fallbackUIRenderer property

(ReactElement? Function(dynamic error, ReactErrorInfo? info)?) fallbackUIRenderer
getter/setter pair

A renderer that will be used to render "fallback" UI instead of the child component tree that crashed.

Related: onComponentIsUnrecoverable, onComponentDidCatch

Implementation

ReactElement? Function(/*Error||Exception*/dynamic error, ReactErrorInfo? info)? fallbackUIRenderer;