key property
All parameters that should be animated (i.e. colors, border radius, size) should be put directly in one of the corresponding fields. All of the other elements (i.e. Text, Icon) should be put inside the child field.
Implementation
final Key? key;