ScaffoldContext extension

Contains extensions for easier access to Scaffold and ScaffoldState using BuildContext

on

Properties

scaffold ScaffoldState

Available on BuildContext, provided by the ScaffoldContext extension

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

Available on BuildContext, provided by the ScaffoldContext extension

Shows a SnackBar at the bottom of the scaffold.