Because I am reusing the same components in different contexts, unwanted Hero animations are displayed in the wrong transitions and my app is looking very glitchy.
This is happening in a rather vanilla project, using MaterialApp and pushNamed for navigation.
How can I enable or disable these animations in specific transitions?