SnackbarController class
Constructors
- SnackbarController(GetSnackBar snackbar)
Properties
Methods
-
close(
{bool withAnimations = true}) → Future< void> - Close the snackbar with animation
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
show(
) → Future< void> - Adds GetSnackbar to a view queue. Only one GetSnackbar will be displayed at a time, and this method returns a future to when the snackbar disappears.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- isSnackbarBeingShown → bool
-
no setter
Static Methods
-
cancelAllSnackbars(
) → void -
closeCurrentSnackbar(
) → Future< void>