getx
                                
                                
                                
                                    getx copied to clipboard
                            
                            
                            
                        RouterOutlet.builder throws TDelegate
just following the nav2 example for my current project
example:
class RootView extends GetView<RootController> {
  @override
  Widget build(BuildContext context) {
    return RouterOutlet.builder( // <==== error
      delegate: Get.nestedKey(null),
      builder: (context, tDelegate, y) {
        print(tDelegate);
        print(y);
        print(context);
        // final title = context.location;
        return Scaffold(
          drawer: DrawerWidget(),
          appBar: CustomAppBar(title: "title"),
          body: GetRouterOutlet(
            initialRoute: Routes.HOME,
            // delegate: Get.delegate(),
            anchorRoute: '/',
            filterPages: (afterAnchor) {
              return afterAnchor.take(1);
            },
          ),
        );
      },
    );
  }
}
To Reproduce Steps to reproduce the behavior:
- Follow nav2 example
 - See error
 
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Flutter Version: v3.0.1
Getx Version: get: 4.6.5
Describe on which device you found the bug: ex: any.
same here..
kindly any suggestions?
I'm using auto routes for it
I'm using auto routes for it
I will try it. thanks !
I'm using auto routes for it
I will try it. thanks !
it is success? or any other alternative? can't find auto routes :(
I'm using auto routes for it
I will try it. thanks !
it is success? or any other alternative? can't find auto routes :(
if others face same issues, just use current master git and reference getx to this git and not using current release version.
same problem here
Hmm, I think this is already fixed in master, but not yet in pub.dev.
I'll take a look at that.
Hmm, I think this is already fixed in master, but not yet in pub.dev.
I'll take a look at that.
It worksssss!! You save my life seriously!!!
added this to pubspec.yaml
get: git: url: http://github.com/jonataslaw/getx.git ref: master