The two dimensionality is supported by the geometry of the material. If the material is in form of sheets then its thickness to its area extension is very small meaning there will be no temperature gradient which means that there is no variation of the temperature across the thickness of the material. Therefore, the material is effectively two dimensional.