Add a drawer to a screen

Export fonts from a package

Display a snackbar

Cookbook

Design

Display a snackbar

1. Create a Scaffold

2. Display a SnackBar

3. Provide an optional action

Interactive example

It can be useful to briefly inform your users when certain actions
take place. For example, when a user swipes away a message in a list,
you might want to inform them that the message has been deleted.
You might even want to give them an option to undo the action.

In Material Design, this is the job of a SnackBar.
This recipe implements a snackbar using the following steps:

Create a Scaffold.

Display a SnackBar.

Provide an optional action.

1. Create a Scaffold