He scored at 13:30 when his pass from behind the net went in off the skate of defenseman Ben Chiarot and again at 14:05 with a wrist shot from the left circle.
"It was a special night," Huberdeau said. "It was a great night, and we finished with a nice win. Obviously, they're close to us, so it's good to get two points, a four-point game, and back-to-back is never easy."
Matheson scored 45 seconds into the third period to make it 6-3 before Jesperi Kotkaniemi scored for Montreal at 4:11. Shea Weber scored at 18:08 for the 6-5 final.
"We'd rather not be giving up five goals every game," Matheson said. "I think there's a lot of positivity to take out of it. It's a great team we were playing in a big game for our division. At the same time, we'll look back and learn from our mistakes too."
After Noel Acciari gave Florida a 1-0 lead at 4:34 of the first period with his eighth goal in six games, Barkov made it 2-0 at 6:33 with a spinning backhand.