Robertson had a goal and an assist, and Justin Hryckowian scored for the Stars (46-20-12), who have won two of three after losing six of their previous seven (1-4-2). Jake Oettinger made 17 saves.
Dallas is two points ahead of the Minnesota Wild for second in the Central Division entering a matchup against the Wild on Thursday (9 p.m. ET; HULU, ESPN+).
“I don’t think there will be a lack of focus for the Minnesota game,” Stars coach Glen Gulutzan said, “but the dig-in part was encouraging as we go into the Minnesota game because it makes you aware of what your mindset needs to be going into that game.”
Joel Farabee, Yegor Sharangovich and Zayne Parekh scored for the Flames (32-36-9), who have lost three of four (1-2-1). Adam Klapka had two assists, and Devin Cooley made 21 saves.
Calgary is 10 points behind the Los Angeles Kings for the second wild card into the Stanley Cup Playoffs from the Western Conference with five games to play.
“I liked our game tonight,” Flames coach Ryan Huska said. “There was a lot of our game where I thought we played hard. We did a good job away from the pucks, thought we had some lengthy shifts in the offensive zone. ... At the end of the night, again, you’re taking penalties against a very good power play. That’s tough.”
Hryckowian put the Stars up 1-0 at 4:30 of the second period. Thomas Harley's wrist shot from above the left face-off circle bounced off the end boards in front to Hryckowian, who chipped the puck past a lunging Cooley just inside the right post.