get_navigation/src/snackbar/snackbar library
Classes
- GetSnackBar
-
A custom
StatefulWidget
for displaying snack bars. - GetSnackBarState
Enums
- RowStyle
- An enumeration representing different styles for rows.
- SnackbarStatus
- Indicates Status of snackbar SnackbarStatus.open Snack is fully open, SnackbarStatus.closed Snackbar has closed, SnackbarStatus.opening Starts with the opening animation and ends with the full snackbar display, SnackbarStatus.closing Starts with the closing animation and ends with the full snackbar dispose
- SnackHoverState
- Indicates if the mouse entered or exited
- SnackPosition
- Indicates if snack is going to start at the top or at the bottom
- SnackStyle
- Indicates if snack will be attached to the edge of the screen or not
Typedefs
- OnHover = void Function(GetSnackBar snack, SnackHoverState snackHoverState)
-
Callback signature for hover events on a
GetSnackBar
. - OnTap = void Function(GetSnackBar snack)
-
Callback signature for tap events on a
GetSnackBar
. - SnackbarStatusCallback = void Function(SnackbarStatus? status)
-
Callback signature for status changes on a
GetSnackBar
.