This sample demonstrates all the API functionalities available in Toast.
In this sample, with help of text inputs toast header title and content text can be provided.
Action Buttonsâ€“ Provide support to add a button inside toast to interact with it.
Prevent Duplicatesâ€“ Disable the user to create same toast message multiple times.
TimeOutâ€“ Allows to set time in millisecond to close toast.
Progress Barâ€“ Visualizes the time out of toast as an indicator.
Animationâ€“ Enables to define the toast show and hide animation.
Close buttonâ€“ Show close button to hide toast irrespective of time out.
More information about Toast can be found in this documentation section.