ScaffoldContext extension
Contains extensions for easier access to Scaffold and ScaffoldState using BuildContext
- on
Properties
- scaffold → ScaffoldState
-
Returns the closest instance of ScaffoldState in the widget tree,
which can be use to get information about that scaffold.
no setter
Methods
-
showSnackBar(
SnackBar snackbar) → void - Shows a SnackBar at the bottom of the scaffold.