zero.appdocs

SnackBar

Actions v1.0 zero-schema

Shows a transient toast message at the bottom of the screen.

Missing descriptions: Handler, OnSuccess, OnFailure.

Required fields

Handler Message

Properties

Handler required
No description
Message string required
The text shown in the toast.
Duration integer optional
How long the toast stays visible, in milliseconds. Defaults to 4000.
Color string optional
Text color as a hex code; defaults to the theme's snackbar text color.
BackgroundColor string optional
Toast background as a hex code; defaults to the theme's snackbar background.
OnSuccess ref optional
No description
OnFailure ref optional
No description

Referenced contracts