In classical PDE theory, Widder's theorem gives a representation for non-negative solutions of the heat equation on R-n. We show that an analogous theorem holds for local weak solutions of the canonical "heat equation" on a symmetric local Dirichlet space satisfying a local parabolic Harnack inequality.