id property

int id
final

An identifier that is stable across snapshots and unique among siblings.

Use it as a widget key.

Implementation

final int id;