Answers for "how to show snackbar from controller flutter"

1

snackbar in flutter

final snackBar = SnackBar(
  content: Text('Yay! A SnackBar!'),
  action: SnackBarAction(
    label: 'Undo',
    onPressed: () {
      // Some code to undo the change.
    },
  ),
);
Posted by: Guest on March-04-2021

Browse Popular Code Answers by Language