buildError method

Widget buildError(
  1. {Object? error,
  2. StackTrace? stack,
  3. dynamic refresh(
      )?}
    )

    Standard error message for use across the application. General widget for showing an error or a retry screen.

    Implementation

    Widget buildError({
      Object? error,
      StackTrace? stack,
      Function()? refresh,
    }) {
      return Center(
        child: JidoujishoPlaceholderMessage(
          icon: Icons.error,
          message: '$error',
        ),
      );
    }