Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

flutter snackbar replacement

ScaffoldMessenger.of(context).showSnackBar(SnackBar(
  content: const Text('snack'),
  duration: const Duration(seconds: 1),
  action: SnackBarAction(
	label: 'ACTION',
	onPressed: () { },
  ),
));
Source by flutter.dev #
 
PREVIOUS NEXT
Tagged: #flutter #snackbar #replacement
ADD COMMENT
Topic
Name
2+1 =