The question comes from thinking about the way how electrons act on the slits. Do material of the slits affect electrons motion? Assume the radius or length of the slits are set in this case.
Does the material affect the double slit experiment? No, but with some important conditions.
The double slit experiment is designed to measure the diffraction interference pattern of the wave-nature of matter like photons and electrons. The material used to make the slits is meant to either completely block the incident particles where there isn't a slit or let them pass completely through where there is a slit. The boundary between the material and the slit is supposed to be sharp. That's why the barriers S1 and S2 don't need labels:
If you chose a material that didn't have these properties (or if you made the barrier so thin it could be tunneled through) you wouldn't really have the double slit experiment anymore.
So, given an appropriate choice of material, the experimental results don't change from material to material. The experiment is based on the geometry of the slits and the wavelength of the incident particles and not the particle-material interaction.