DisplaySnackbarEventSchema
Shows a snackbar with message, by broadcasting a display command on the screen channel. duration maps onto Material's Short, Long and Indefinite, and actionLabel adds an action button when non-null.
incomingData consumed: not used.
Triggers fired:
OnSuccessEventTrigger— right after the command was broadcast, before the snackbar has resolved. The broadcast is fire-and-forget, so this fires regardless of what the snackbar does next. No data is passed downstream.OnSnackbarActionEventTrigger— later, when the user presses the action button. No data is passed downstream.OnSnackbarDismissedEventTrigger— later, when the snackbar goes away without its action being pressed. No data is passed downstream.
Constructors
Properties
This event's own children — each declaring, via its own trigger, which of this event's outgoing triggers runs it. null when this event declares no children.
The condition that must occur for this event to run — matched by structural equality (data class/data object equality) against whatever trigger value fired, never by any kind of subscription or listener registry.