effectKey property
This field is intended to specify a value, which will indicate that the component requires rerendering if the previous value of this key differs from the current one.
Usually the values for the key are taken from the current arguments.
Example:
ItemRow({
required this.dataItem,
required this.selected,
}) : super(effectKey: Key([dataItem.label, selected]), key: dataItem.id);
Implementation
final Object? effectKey;