I looked it up and Flowey does appear briefly if you backtrack. It happens in the Ruins, Snowdin, by the telescope room in Waterfall, and after the jetpack mini-game in Hotlands (no more info because spoilers).
https://www.youtube.com/watch?v=e7D3dT44d8Q