SnackbarWidget class
If the Snackbar enum is selected, please enter all the values for this class
- Inheritance
-
- Object
- OfflineWidgetType
- SnackbarWidget
- Implemented types
- Implementers
Constructors
- SnackbarWidget({SnackBar? snackbar, SnackbarPosition? snackbarPosition})
-
Snackbar constructor
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- snackbar → SnackBar?
-
Provide custom Snackbar
final
- snackbarPosition → SnackbarPosition?
-
Provide the position of the Snackbar if the default snackbar is consumed
final
Methods
-
display(
BuildContext context) → void -
Display Default Snackbar widget
override
-
hide(
BuildContext context) → void -
Hide Default Snackbar widget
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited