Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

snackbar in flutter

final snackBar = SnackBar(
  content: Text('Yay! A SnackBar!'),
  action: SnackBarAction(
    label: 'Undo',
    onPressed: () {
      // Some code to undo the change.
    },
  ),
);
Source by flutter.dev #
 
PREVIOUS NEXT
Tagged: #snackbar #flutter
ADD COMMENT
Topic
Name
6+1 =