showTryAgain static method
Shows a "Try again" snackbar with action
Implementation
static void showTryAgain(
BuildContext context, {
required VoidCallback onRetry,
}) {
SavePointsSnackbar.showError(
context,
title: 'Failed',
subtitle: 'Something went wrong',
actionLabel: 'Retry',
onActionPressed: onRetry,
);
}