Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

snackbar in flutter

final snackBar = SnackBar(content: Text('Yay! A SnackBar!'));

// Find the ScaffoldMessenger in the widget tree
// and use it to show a SnackBar.
ScaffoldMessenger.of(context).showSnackBar(snackBar);
Source by flutter.dev #
 
PREVIOUS NEXT
Tagged: #snackbar #flutter
ADD COMMENT
Topic
Name
8+9 =