Durasi snackbar flutter
ScaffoldMessenger.of(context).showSnackBar(
SnackBar(
duration: const Duration(milliseconds: 4000), // default 4s
content: const Text('Awesome Snackbar!'),
),
);
Sore Serval