It was Toskala's 13th career shutout and fifth with Toronto.
Tyler Bozak scored for the first time in his career and Nikolai Kulemin, Luke Schenn and Lee Stempniak also scored for Toronto. Bozak added one assist and Phil Kessel had two assists for the Maple Leafs, who snapped a four-game losing streak.
Michael Leighton made 31 saves on 35 shots for the Flyers, who were 8-1-1 in their previous 10 games.
On the power play, both clubs went 0-for-4.
Toronto has beaten Philadelphia four straight times and in six of the last seven contests in Ontario.