@@ -16,6 +16,8 @@

16
16

ScaffoldMessenger.of(context)

17
17

.showSnackBar(SnackBar(content: Text('$item dismissed')));

18
18

},

19

+
                // Show a red background as the item is swiped away.

20

+
                background: Container(color: Colors.red),

19
21

child: ListTile(

20
22

title: Text(item),

21
23

),

Interactive example

Handle taps

Display images from the internet