Flutter Dismissible example – Swipe to dismiss/remove Item in ListView

In previous post, we had created and shown a ListView with ListView.builder() constructor method. Today, we’re gonna add a function that allows us swipe to remove Item in the list using Dismissible.

Related Post: Flutter ListView example with ListView.builder

Example Overview


Flutter Dismissible Widget

Create List of Items

Wrap in a Dismissible Widget

Update itemBuilder() function to return a Dismissible Widget:

Complete Code



By grokonez | August 7, 2018.

Related Posts

Got Something To Say:

Your email address will not be published. Required fields are marked *