showFallbackUIOnError property

  1. @override
bool get showFallbackUIOnError
override

Whether to show "fallback" UI when hasError is true.

This value will always be true if ErrorBoundaryProps.fallbackUIRenderer is non-null.

Implementation

@override
bool get showFallbackUIOnError =>
    (state[_$key__showFallbackUIOnError__ErrorBoundaryState] ?? null) as bool;
  1. @override
set showFallbackUIOnError (bool value)
override

Whether to show "fallback" UI when hasError is true.

This value will always be true if ErrorBoundaryProps.fallbackUIRenderer is non-null.

Implementation

@override
set showFallbackUIOnError(bool value) =>
    state[_$key__showFallbackUIOnError__ErrorBoundaryState] = value;