ZeroSnackbarAlert class
A class that provides a function to display a alert message ZeroSnackbarAlert have 2 methods:
Constructors
- ZeroSnackbarAlert()
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
hide(
) → void -
hide hide the alert by removing the
_overlayEntry
variable value -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
show(
BuildContext context, {required String title, String? subtitle, ZeroSnackbarAlertVariant variant = ZeroSnackbarAlertVariant.danger, ZeroSnackbarAlertType type = ZeroSnackbarAlertType.solidFilled, ZeroSnackbarAlertStyle? style, SnackbarPosition position = SnackbarPosition.bottom, Widget? action}) → void - show is a function that displays a alert message
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited