showClearAllConfirmation function

Future<bool> showClearAllConfirmation(
  1. BuildContext context,
  2. int count
)

Shows clear all confirmation dialog.

Implementation

Future<bool> showClearAllConfirmation(BuildContext context, int count) {
  return DialogHelper.showDestructiveConfirmation(
    context,
    title: 'Clear All Places',
    content:
        'Are you sure you want to delete ALL $count saved places?\n\nThis action cannot be undone.',
    confirmText: 'Clear All',
  );
}