The “swipe to dismiss” pattern is common in many mobile apps. For example, when writing an email app, you might want to allow a user to swipe away email messages to delete them from a list.
Flutter makes this task easy by providing the Dismissible widget. Learn how to implement swipe to dismiss with the following steps:
1:Create a list of items.
2:Wrap each item in a Dismissible widget.
3:Provide “leave behind” indicators.