Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

snackbar flutter

ScaffoldMessenger.of(context).showSnackBar(
          SnackBar(
            duration: const Duration(milliseconds: 5000), 
            content: const Text('Awesome Snackbar!'),
          ),
        );
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #snackbar #flutter
ADD COMMENT
Topic
Name
2+8 =