# Chapter 7 GroceryTile key redundant?

**URL:** <https://forums.kodeco.com/t/chapter-7-grocerytile-key-redundant/187687>\
**Category:** Flutter Apprentice\
**Created:** [May 25, 2023, 9:52pm UTC](https://forums.kodeco.com/t/chapter-7-grocerytile-key-redundant/187687 "2023-05-25T21:52:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![urbanmarton](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/urbanmarton/32/111405_2.png) [@urbanmarton](https://forums.kodeco.com/u/urbanmarton)\
**Post date:** [May 25, 2023, 9:52pm UTC](https://forums.kodeco.com/t/chapter-7-grocerytile-key-redundant/187687/1 "2023-05-25T21:52:28Z")

</div>

_grocery\_list\_screen.dart_

**Dismissable** has the key:

```auto
return Dismissible(
            key: Key(item.id),

```

And **InkWell** is the child of that Dismissible widget whose child is a **GroceryTile** :

```auto
            child: InkWell(
              child: GroceryTile(
                key: Key(item.id),

```

The _key_ parameter seems to be redundant for the stateless GroceryTile widget here.  
If you delete it from the code, the app still seems to work perfectly (adding/editing/deleting items seem to work well).

Please advise,  
Márton
