showImportSuccessSnackbar function
- BuildContext context,
- int count
Shows import success snackbar.
Implementation
void showImportSuccessSnackbar(BuildContext context, int count) {
ScaffoldMessenger.of(context).showSnackBar(
SnackBar(
content: Row(
children: [
const Icon(Icons.check_circle, color: Colors.white),
const SizedBox(width: 12),
Text('Imported $count places successfully'),
],
),
backgroundColor: Colors.green,
),
);
}