SnackbarResult

sealed class SnackbarResult

Possible results of the SnackbarHostState.show call

This sealed class represents all possible outcomes when showing a snack:

  • Successful display with specific user interaction result

  • Failure case with details

Inheritors

Constructors

Link copied to clipboard
protected constructor()

Types

Link copied to clipboard

Represents a snack where the user explicitly clicked the action button

Link copied to clipboard

Represents a snack that was automatically dismissed after timeout or manually dismissed by the user

Link copied to clipboard

Represents a failed attempt to show a snack