How can I create an undo button that stops an action?
For example a user accepts to deleting a document then a snack bar is shown for a few seconds saying file deleted with an undo button next to it.
How can I create an undo button that stops an action?
For example a user accepts to deleting a document then a snack bar is shown for a few seconds saying file deleted with an undo button next to it.