showExportResultSnackbar function

void showExportResultSnackbar(
  1. BuildContext context,
  2. bool success,
  3. int count
)

Shows export success/failure snackbar.

Implementation

void showExportResultSnackbar(BuildContext context, bool success, int count) {
  if (success) {
    SnackBarHelper.showSuccess(context, 'Exported $count places successfully');
  } else {
    SnackBarHelper.showError(context, 'Failed to export places');
  }
}