anchor.diff:        ),
       );
     }
  -}
  +
  +  Future<bool> _showConfirmationDialog(BuildContext context, String action) {
  +    return showDialog<bool>(
  +      context: context,
  +      barrierDismissible: true,
  +      builder: (BuildContext context) {
  +        return AlertDialog(
  +          title: Text('Do you want to $action this item?'),
  +          actions: <Widget>[
  +            FlatButton(
  +              child: const Text('Yes'),
  +              onPressed: () {
  +                Navigator.pop(context, true); // showDialog() returns true
  +              },
  +            ),
  +            FlatButton(
  +              child: const Text('No'),
  +              onPressed: () {
  +                Navigator.pop(context, false); // showDialog() returns false
  +              },
  +            ),
  +          ],
  +        );
  +      },
  +    );
  +  }
  +}
  
positive.code:       body = ListView(
          children: leaveBehindItems.map<Widget>((LeaveBehindItem item) {
            return _LeaveBehindListItem(
              item: item,
              onArchive: _handleArchive,
              onDelete: _handleDelete,
  
negative.code: class LeaveBehindDemoState extends State<LeaveBehindDemo> {
    static final GlobalKey<ScaffoldState> _scaffoldKey = GlobalKey<ScaffoldState>();
    DismissDirection _dismissDirection = DismissDirection.horizontal;
    bool _confirmDismiss = true;
    List<LeaveBehindItem> leaveBehindItems;
  
    void initListItems() {
  