title: GetX Get.toNamed() is ignoring onGenerateRoute on Navigator
body: <p>I have a problem, I'm using GetX in my Flutter Application. I need to use nested navigation cause I'm using BottomNavigationBar.
  First I have a Navigator Widget, the problem is when the Get.toNamed method is called and the onGenerateRoute is not executing.</p>
  <p>This is my code</p>
  <pre><code>class NavigatorPage extends GetWidget&lt;NavigatorController&gt; {
    NavigatorPage({Key? key}) : super(key: key);
  
    @override
    Widget build(BuildContext context) {
      final List&lt;Widget&gt; pages = [
        Navigator(
            key: Get.nestedKey(2), // create a key by index
            onGenerateRoute: (settings) {
              if (settings.name == VozComercialRoutes.home) {
                return GetPageRoute(
                    page: () =&gt; HomePage(), binding: HomePageBinding());
              } else if (settings.name == VozComercialRoutes.listaRegistros) {
                return GetPageRoute(
                    page: () =&gt; ListaRegistrosPage(),
                    binding: ListaRegistrosBinding());
              }
            }),
        Navigator(
            key: Get.nestedKey(2), // create a key by index
            onGenerateRoute: (settings) {
              if (settings.name == VozComercialRoutes.home) {
                return GetPageRoute(
                    page: () =&gt; HomePage(), binding: HomePageBinding());
              } else if (settings.name == VozComercialRoutes.listaRegistros) {
                return GetPageRoute(
                    page: () =&gt; ListaRegistrosPage(),
                    binding: ListaRegistrosBinding());
              }
            }),
      ];
      return Scaffold(
        extendBodyBehindAppBar: true,
        appBar: CustomAppBar(),
        body: PageView(
          onPageChanged: controller.changePage,
          controller: controller.pageController,
          children: pages,
        ),
        bottomNavigationBar: Obx(() =&gt; BottomNavigationBar(
                onTap: controller.changePage,
                currentIndex: controller.tabIndex.value,
                items: [
                  BottomNavigationBarItem(
                    icon: Icon(Icons.home),
                    label: 'home',
                  ),
                  BottomNavigationBarItem(
                    icon: Icon(Icons.download),
                    label: 'download',
                  ),
                ])),
      );
    }
  }
  </code></pre>
  <p>The navigate code is</p>
  <pre><code>Get.toNamed(VozComercialRoutes.registro, arguments: registro);
  </code></pre>
  <p>I have tried with the following code and it works, but I want to use GetX</p>
  <pre><code>Navigator.pushNamed(VozComercialRoutes.registro)
  </code></pre>
  <p>Thanks</p>