errorWidget method

  1. @protected
Widget errorWidget(
  1. BuildContext context,
  2. ScreenManagerCubitStateDisplayErrorPage state
)
inherited

Builds the full-page error widget for ScreenManagerCubitStateDisplayErrorPage.

Override to customise the error UI (e.g. branded illustration, retry logic, deep-link to support).

Implementation

@protected
Widget errorWidget(
  BuildContext context,
  ScreenManagerCubitStateDisplayErrorPage state,
) {
  return BlocxErrorWidget.fromState(state);
}