Use the drag()
method to perform a swipe-to-dismiss action.

Use the pumpAndSettle()
method to continually rebuild the widget tree until the dismiss
animation is complete.

Ensure that the item no longer appears on screen.

Complete example

Handle scrolling