I have an app that I would like to try and remake in a flutter. In this app, the navigation routes change a lot and are not defined in a centralized place, but instead is defined by different developers in different "micro-projects" that are then bound together in the main app.
So my question is: Can I somehow dynamically set the routes on a MaterialApp at runtime? So that when a given widget class is loaded, it takes the MaterialApp instance and sets a new Map of routes on to the MaterialApp, and any routes that were before are now gone and replaced with new routes?