buildError method
- {Object? error,
- StackTrace? stack,
- 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',
),
);
}