solidKey property
shapeKey, the same object back for as long as writeShapeValues
gives the same values: a collider matching the shape asks every step,
and asking makes nothing while the shape stays as it is.
Implementation
@override
Object get solidKey {
final values = _solidValues ??= ShapeValues();
values.begin();
writeShapeValues(values);
final changed = values.end();
return changed || _solidKey == null ? _solidKey = shapeKey : _solidKey!;
}