SnackbarController class Null safety
Constructors
- SnackbarController(GetSnackBar snackbar)
Properties
-
future
→ Future<
void> -
read-only
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
-
key
→ GlobalKey<
GetSnackBarState> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- snackbar → GetSnackBar
-
final
Methods
-
close(
{bool withAnimations = true}) → Future< void> - Close the snackbar with animation
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent 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
-
read-only
Static Methods
-
cancelAllSnackbars(
) → void -
closeCurrentSnackbar(
) → Future< void>