get_navigation/src/snackbar/snack library
Enums
- 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
- SnackDismissDirection
- Indicates the direction in which it is possible to dismiss If vertical, dismiss up will be allowed if SnackPosition.TOP If vertical, dismiss down will be allowed if SnackPosition.BOTTOM
- 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
-
OnTap
= void Function(GetBar<
Object> snack) - SnackbarStatusCallback = void Function(SnackbarStatus? status)