If your app becomes large or heavily state-driven, you might want to:
Use named routes for better readability.
Use state management tools (like Riverpod, Provider, Bloc) to decouple navigation logic.
Use GoRouter for declarative routing with parameters and results.