What is a Flutter Key and when does omitting it cause bugs?
A Key is the identity half of Widget.canUpdate, the one line of framework code that decides whether an Element and its State are reused or thrown away. Here is what that means in practice, the exact list edits that corrupt state without keys, which key type to reach for, and where the key has to sit to work.