router is a global instance of the Router class. It's only available when PageView is used as they work together to provide routing in the application.
router
late Router router;