showSnackBar method

void showSnackBar(
  1. SnackBar snackbar
)

Shows a SnackBar at the bottom of the scaffold.

If you call this function too quickly, the new snackbar is added to a queue and displayed when the current one disappears.

Implementation

void showSnackBar(SnackBar snackbar) => this.scaffold.showSnackBar(snackbar);