Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flutter: Another exception was thrown: A GlobalKey was used multiple times inside one widget's child list. #37300

Closed
sunnyshingala opened this issue Jul 31, 2019 · 5 comments
Labels
waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds

Comments

@sunnyshingala
Copy link

sunnyshingala commented Jul 31, 2019

flutter: ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
flutter: The following assertion was thrown building IconTheme(IconThemeData#2abdc(color:                          
flutter: Color(0xdd000000))):                                                   
flutter: Could not find a generator for route RouteSettings("/", null) in the _WidgetsAppState.                    
flutter: Generators for routes are searched for in the following order:         
flutter:  1. For the "/" route, the "home" property, if non-null, is used.      
flutter:  2. Otherwise, the "routes" table is used, if it has an entry for the route.                              
flutter:  3. Otherwise, onGenerateRoute is called. It should return a non-null value for any valid route not       
flutter: handled by "home" and "routes".                                        
flutter:  4. Finally if all else fails onUnknownRoute is called.                
flutter: Unfortunately, onUnknownRoute was not set.                             
flutter:                                                                        
flutter: When the exception was thrown, this was the stack:                     
flutter: #0      _WidgetsAppState._onUnknownRoute.<anonymous closure> (package:flutter/src/widgets/app.dart:772:9) 
flutter: #1      _WidgetsAppState._onUnknownRoute (package:flutter/src/widgets/app.dart:785:6)                     
flutter: #2      NavigatorState._routeNamed (package:flutter/src/widgets/navigator.dart:1611:22)                   
flutter: #3      NavigatorState.initState (package:flutter/src/widgets/navigator.dart:1538:17)                     
flutter: #4      StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4033:58)                  
flutter: #5      ComponentElement.mount (package:flutter/src/widgets/framework.dart:3902:5)                        
flutter: #6      Element.inflateWidget (package:flutter/src/widgets/framework.dart:3084:14)                        
flutter: #7      Element.updateChild (package:flutter/src/widgets/framework.dart:2887:12)                          
flutter: #8      ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3935:16)              
flutter: #9      Element.rebuild (package:flutter/src/widgets/framework.dart:3721:5)                               
flutter: #10     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3907:5)                  
flutter: #11     ComponentElement.mount (package:flutter/src/widgets/framework.dart:3902:5)                        
flutter: #12     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3084:14)                        
flutter: #13     Element.updateChild (package:flutter/src/widgets/framework.dart:2887:12)                          
flutter: #14     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3935:16)              
flutter: #15     Element.rebuild (package:flutter/src/widgets/framework.dart:3721:5)                               
flutter: #16     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3907:5)                  
flutter: #17     ComponentElement.mount (package:flutter/src/widgets/framework.dart:3902:5)                        
flutter: #18     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3084:14)                        
flutter: #19     Element.updateChild (package:flutter/src/widgets/framework.dart:2887:12)                          
flutter: #20     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3935:16)              
flutter: #21     Element.rebuild (package:flutter/src/widgets/framework.dart:3721:5)                               
flutter: #22     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3907:5)                  
flutter: #23     ComponentElement.mount (package:flutter/src/widgets/framework.dart:3902:5)                        
flutter: #24     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3084:14)                        
flutter: #25     Element.updateChild (package:flutter/src/widgets/framework.dart:2887:12)                          
flutter: #26     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3935:16)              
flutter: #27     Element.rebuild (package:flutter/src/widgets/framework.dart:3721:5)                               
flutter: #28     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3907:5)                  
flutter: #29     ComponentElement.mount (package:flutter/src/widgets/framework.dart:3902:5)                        
flutter: #30     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3084:14)                        
flutter: #31     Element.updateChild (package:flutter/src/widgets/framework.dart:2887:12)                          
flutter: #32     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3935:16)              
flutter: #33     Element.rebuild (package:flutter/src/widgets/framework.dart:3721:5)                               
flutter: #34     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3907:5)                  
flutter: #35     ComponentElement.mount (package:flutter/src/widgets/framework.dart:3902:5)                        
flutter: #36     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3084:14)                        
flutter: #37     Element.updateChild (package:flutter/src/widgets/framework.dart:2887:12)                          
flutter: #38     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3935:16)              
flutter: #39     Element.rebuild (package:flutter/src/widgets/framework.dart:3721:5)                               
flutter: #40     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3907:5)                  
flutter: #41     ComponentElement.mount (package:flutter/src/widgets/framework.dart:3902:5)                        
flutter: #42     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3084:14)                        
flutter: #43     Element.updateChild (package:flutter/src/widgets/framework.dart:2887:12)                          
flutter: #44     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3935:16)              
flutter: #45     Element.rebuild (package:flutter/src/widgets/framework.dart:3721:5)                               
flutter: #46     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3907:5)                  
flutter: #47     StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4053:11)                  
flutter: #48     ComponentElement.mount (package:flutter/src/widgets/framework.dart:3902:5)                        
flutter: #49     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3084:14)                        
flutter: #50     Element.updateChild (package:flutter/src/widgets/framework.dart:2887:12)                          
flutter: #51     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3935:16)              
flutter: #52     Element.rebuild (package:flutter/src/widgets/framework.dart:3721:5)                               
flutter: #53     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3907:5)                  
flutter: #54     ComponentElement.mount (package:flutter/src/widgets/framework.dart:3902:5)                        
flutter: #55     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3084:14)                        
flutter: #56     Element.updateChild (package:flutter/src/widgets/framework.dart:2887:12)                          
flutter: #57     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3935:16)              
flutter: #58     Element.rebuild (package:flutter/src/widgets/framework.dart:3721:5)                               
flutter: #59     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3907:5)                  
flutter: #60     ComponentElement.mount (package:flutter/src/widgets/framework.dart:3902:5)                        
flutter: #61     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3084:14)                        
flutter: #62     Element.updateChild (package:flutter/src/widgets/framework.dart:2887:12)                          
flutter: #63     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3935:16)              
flutter: #64     Element.rebuild (package:flutter/src/widgets/framework.dart:3721:5)                               
flutter: #65     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3907:5)                  
flutter: #66     ComponentElement.mount (package:flutter/src/widgets/framework.dart:3902:5)                        
flutter: #67     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3084:14)                        
flutter: #68     Element.updateChild (package:flutter/src/widgets/framework.dart:2887:12)                          
flutter: #69     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3935:16)              
flutter: #70     Element.rebuild (package:flutter/src/widgets/framework.dart:3721:5)                               
flutter: #71     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3907:5)                  
flutter: #72     ComponentElement.mount (package:flutter/src/widgets/framework.dart:3902:5)                        
flutter: #73     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3084:14)                        
flutter: #74     Element.updateChild (package:flutter/src/widgets/framework.dart:2887:12)                          
flutter: #75     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3935:16)              
flutter: #76     Element.rebuild (package:flutter/src/widgets/framework.dart:3721:5)                               
flutter: #77     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3907:5)                  
flutter: #78     ComponentElement.mount (package:flutter/src/widgets/framework.dart:3902:5)                        
flutter: #79     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3084:14)                        
flutter: #80     Element.updateChild (package:flutter/src/widgets/framework.dart:2887:12)                          
flutter: #81     SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:5092:14)         
flutter: #82     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3084:14)                        
flutter: #83     Element.updateChild (package:flutter/src/widgets/framework.dart:2887:12)                          
flutter: #84     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3935:16)              
flutter: #85     Element.rebuild (package:flutter/src/widgets/framework.dart:3721:5)                               
flutter: #86     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3907:5)                  
flutter: #87     StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4053:11)                  
flutter: #88     ComponentElement.mount (package:flutter/src/widgets/framework.dart:3902:5)                        
flutter: #89     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3084:14)                        
flutter: #90     Element.updateChild (package:flutter/src/widgets/framework.dart:2887:12)                          
flutter: #91     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3935:16)              
flutter: #92     Element.rebuild (package:flutter/src/widgets/framework.dart:3721:5)                               
flutter: #93     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3907:5)                  
flutter: #94     ComponentElement.mount (package:flutter/src/widgets/framework.dart:3902:5)                        
flutter: #95     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3084:14)                        
flutter: #96     Element.updateChild (package:flutter/src/widgets/framework.dart:2887:12)                          
flutter: #97     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3935:16)              
flutter: #98     Element.rebuild (package:flutter/src/widgets/framework.dart:3721:5)                               
flutter: #99     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3907:5)                  
flutter: #100    ComponentElement.mount (package:flutter/src/widgets/framework.dart:3902:5)                        
flutter: #101    Element.inflateWidget (package:flutter/src/widgets/framework.dart:3084:14)                        
flutter: #102    Element.updateChild (package:flutter/src/widgets/framework.dart:2887:12)                          
flutter: #103    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3935:16)              
flutter: #104    Element.rebuild (package:flutter/src/widgets/framework.dart:3721:5)                               
flutter: #105    ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3907:5)                  
flutter: #106    StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4053:11)                  
flutter: #107    ComponentElement.mount (package:flutter/src/widgets/framework.dart:3902:5)                        
flutter: #108    Element.inflateWidget (package:flutter/src/widgets/framework.dart:3084:14)                        
flutter: #109    Element.updateChild (package:flutter/src/widgets/framework.dart:2887:12)                          
flutter: #110    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3935:16)              
flutter: #111    Element.rebuild (package:flutter/src/widgets/framework.dart:3721:5)                               
flutter: #112    ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3907:5)                  
flutter: #113    ComponentElement.mount (package:flutter/src/widgets/framework.dart:3902:5)                        
flutter: #114    Element.inflateWidget (package:flutter/src/widgets/framework.dart:3084:14)                        
flutter: #115    Element.updateChild (package:flutter/src/widgets/framework.dart:2887:12)                          
flutter: #116    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3935:16)              
flutter: #117    Element.rebuild (package:flutter/src/widgets/framework.dart:3721:5)                               
flutter: #118    ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3907:5)                  
flutter: #119    StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4053:11)                  
flutter: #120    ComponentElement.mount (package:flutter/src/widgets/framework.dart:3902:5)                        
flutter: #121    Element.inflateWidget (package:flutter/src/widgets/framework.dart:3084:14)                        
flutter: #122    Element.updateChild (package:flutter/src/widgets/framework.dart:2887:12)                          
flutter: #123    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3935:16)              
flutter: #124    Element.rebuild (package:flutter/src/widgets/framework.dart:3721:5)                               
flutter: #125    ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3907:5)                  
flutter: #126    ComponentElement.mount (package:flutter/src/widgets/framework.dart:3902:5)                        
flutter: #127    Element.inflateWidget (package:flutter/src/widgets/framework.dart:3084:14)                        
flutter: #128    Element.updateChild (package:flutter/src/widgets/framework.dart:2887:12)                          
flutter: #129    RenderObjectToWidgetElement._rebuild (package:flutter/src/widgets/binding.dart:939:16)            
flutter: #130    RenderObjectToWidgetElement.mount (package:flutter/src/widgets/binding.dart:910:5)                
flutter: #131    RenderObjectToWidgetAdapter.attachToRenderTree.<anonymous closure> (package:flutter/src/widgets/binding.dart:856:17)
flutter: #132    BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2320:19)                        
flutter: #133    RenderObjectToWidgetAdapter.attachToRenderTree (package:flutter/src/widgets/binding.dart:855:13)  
flutter: #134    _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding&WidgetsBinding.attachRootWidget (package:flutter/src/widgets/binding.dart:736:7)
flutter: #135    runApp (package:flutter/src/widgets/binding.dart:786:7)        
flutter: #136    main (package:login_example/main.dart:5:15)                    
flutter: #137    _runMainZoned.<anonymous closure>.<anonymous closure> (dart:ui/hooks.dart:216:25)                 
flutter: #142    _runMainZoned.<anonymous closure> (dart:ui/hooks.dart:208:5)   
flutter: #143    _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:301:19)                  
flutter: #144    _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:172:12)                 
flutter: (elided 4 frames from package dart:async)                              
flutter:
@BondarenkoStas
Copy link

@sunnyshingala The exception says Could not find a generator for route RouteSettings("/", null) in the _WidgetsAppState. Did you miss to add / to your MaterialApp routes? Is the issue still relevant?

@BondarenkoStas BondarenkoStas added the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Sep 20, 2019
@janmoppel
Copy link

Hello @sunnyshingala !

Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!

Thanks for your contribution.

@dahal-arjun
Copy link

Launching lib\main.dart on Android SDK built for x86 in debug mode...
I/flutter ( 4399): ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
I/flutter ( 4399): The following assertion was thrown building IconTheme(color: Color(0xdd000000)):
I/flutter ( 4399): Could not find a generator for route RouteSettings("/", null) in the _WidgetsAppState.
I/flutter ( 4399): Generators for routes are searched for in the following order:
I/flutter ( 4399): 1. For the "/" route, the "home" property, if non-null, is used.
I/flutter ( 4399): 2. Otherwise, the "routes" table is used, if it has an entry for the route.
I/flutter ( 4399): 3. Otherwise, onGenerateRoute is called. It should return a non-null value for any valid route not
I/flutter ( 4399): handled by "home" and "routes".
I/flutter ( 4399): 4. Finally if all else fails onUnknownRoute is called.
I/flutter ( 4399): Unfortunately, onUnknownRoute was not set.
I/flutter ( 4399):
I/flutter ( 4399): The relevant error-causing widget was:
�[38;5;248mI/flutter ( 4399): MaterialApp�[39;49m
I/flutter ( 4399):
I/flutter ( 4399): When the exception was thrown, this was the stack:
�[38;5;244mI/flutter ( 4399): #0 _WidgetsAppState._onUnknownRoute.�[39;49m
�[38;5;244mI/flutter ( 4399): #1 _WidgetsAppState._onUnknownRoute�[39;49m
�[38;5;244mI/flutter ( 4399): #2 NavigatorState._routeNamed�[39;49m
�[38;5;244mI/flutter ( 4399): #3 NavigatorState.initState�[39;49m
�[38;5;244mI/flutter ( 4399): #4 StatefulElement._firstBuild�[39;49m
�[38;5;244mI/flutter ( 4399): #5 ComponentElement.mount�[39;49m
�[38;5;244mI/flutter ( 4399): #6 Element.inflateWidget�[39;49m
�[38;5;244mI/flutter ( 4399): #7 Element.updateChild�[39;49m
�[38;5;244mI/flutter ( 4399): #8 ComponentElement.performRebuild�[39;49m
�[38;5;244mI/flutter ( 4399): #9 Element.rebuild�[39;49m
�[38;5;244mI/flutter ( 4399): #10 ComponentElement._firstBuild�[39;49m
�[38;5;244mI/flutter ( 4399): #11 ComponentElement.mount�[39;49m
�[38;5;244mI/flutter ( 4399): #12 Element.inflateWidget�[39;49m
�[38;5;244mI/flutter ( 4399): #13 Element.updateChild�[39;49m
�[38;5;244mI/flutter ( 4399): #14 ComponentElement.performRebuild�[39;49m
�[38;5;244mI/flutter ( 4399): #15 Element.rebuild�[39;49m
�[38;5;244mI/flutter ( 4399): #16 ComponentElement._firstBuild�[39;49m
�[38;5;244mI/flutter ( 4399): #17 ComponentElement.mount�[39;49m
�[38;5;244mI/flutter ( 4399): #18 Element.inflateWidget�[39;49m
�[38;5;244mI/flutter ( 4399): #19 Element.updateChild�[39;49m
�[38;5;244mI/flutter ( 4399): #20 ComponentElement.performRebuild�[39;49m
�[38;5;244mI/flutter ( 4399): #21 Element.rebuild�[39;49m
�[38;5;244mI/flutter ( 4399): #22 ComponentElement._firstBuild�[39;49m
�[38;5;244mI/flutter ( 4399): #23 ComponentElement.mount�[39;49m
�[38;5;244mI/flutter ( 4399): #24 Element.inflateWidget�[39;49m
�[38;5;244mI/flutter ( 4399): #25 Element.updateChild�[39;49m
�[38;5;244mI/flutter ( 4399): #26 ComponentElement.performRebuild�[39;49m
�[38;5;244mI/flutter ( 4399): #27 Element.rebuild�[39;49m
�[38;5;244mI/flutter ( 4399): #28 ComponentElement._firstBuild�[39;49m
�[38;5;244mI/flutter ( 4399): #29 ComponentElement.mount�[39;49m
�[38;5;244mI/flutter ( 4399): #30 Element.inflateWidget�[39;49m
�[38;5;244mI/flutter ( 4399): #31 Element.updateChild�[39;49m
�[38;5;244mI/flutter ( 4399): #32 ComponentElement.performRebuild�[39;49m
�[38;5;244mI/flutter ( 4399): #33 Element.rebuild�[39;49m
�[38;5;244mI/flutter ( 4399): #34 ComponentElement._firstBuild�[39;49m
�[38;5;244mI/flutter ( 4399): #35 ComponentElement.mount�[39;49m
�[38;5;244mI/flutter ( 4399): #36 Element.inflateWidget�[39;49m
�[38;5;244mI/flutter ( 4399): #37 Element.updateChild�[39;49m
�[38;5;244mI/flutter ( 4399): #38 ComponentElement.performRebuild�[39;49m
�[38;5;244mI/flutter ( 4399): #39 Element.rebuild�[39;49m
�[38;5;244mI/flutter ( 4399): #40 ComponentElement._firstBuild�[39;49m
�[38;5;244mI/flutter ( 4399): #41 ComponentElement.mount�[39;49m
�[38;5;244mI/flutter ( 4399): #42 Element.inflateWidget�[39;49m
�[38;5;244mI/flutter ( 4399): #43 Element.updateChild�[39;49m
�[38;5;244mI/flutter ( 4399): #44 ComponentElement.performRebuild�[39;49m
�[38;5;244mI/flutter ( 4399): #45 Element.rebuild�[39;49m
�[38;5;244mI/flutter ( 4399): #46 ComponentElement._firstBuild�[39;49m
�[38;5;244mI/flutter ( 4399): #47 StatefulElement._firstBuild�[39;49m
�[38;5;244mI/flutter ( 4399): #48 ComponentElement.mount�[39;49m
�[38;5;244mI/flutter ( 4399): #49 Element.inflateWidget�[39;49m
�[38;5;244mI/flutter ( 4399): #50 Element.updateChild�[39;49m
�[38;5;244mI/flutter ( 4399): #51 ComponentElement.performRebuild�[39;49m
�[38;5;244mI/flutter ( 4399): #52 Element.rebuild�[39;49m
�[38;5;244mI/flutter ( 4399): #53 ComponentElement._firstBuild�[39;49m
�[38;5;244mI/flutter ( 4399): #54 ComponentElement.mount�[39;49m
�[38;5;244mI/flutter ( 4399): #55 Element.inflateWidget�[39;49m
�[38;5;244mI/flutter ( 4399): #56 Element.updateChild�[39;49m
�[38;5;244mI/flutter ( 4399): #57 ComponentElement.performRebuild�[39;49m
�[38;5;244mI/flutter ( 4399): #58 Element.rebuild�[39;49m
�[38;5;244mI/flutter ( 4399): #59 ComponentElement._firstBuild�[39;49m
�[38;5;244mI/flutter ( 4399): #60 ComponentElement.mount�[39;49m
�[38;5;244mI/flutter ( 4399): #61 Element.inflateWidget�[39;49m
�[38;5;244mI/flutter ( 4399): #62 Element.updateChild�[39;49m
�[38;5;244mI/flutter ( 4399): #63 SingleChildRenderObjectElement.mount�[39;49m
�[38;5;244mI/flutter ( 4399): #64 Element.inflateWidget�[39;49m
�[38;5;244mI/flutter ( 4399): #65 Element.updateChild�[39;49m
�[38;5;244mI/flutter ( 4399): #66 ComponentElement.performRebuild�[39;49m
�[38;5;244mI/flutter ( 4399): #67 Element.rebuild�[39;49m
�[38;5;244mI/flutter ( 4399): #68 ComponentElement._firstBuild�[39;49m
�[38;5;244mI/flutter ( 4399): #69 ComponentElement.mount�[39;49m
�[38;5;244mI/flutter ( 4399): #70 Element.inflateWidget�[39;49m
�[38;5;244mI/flutter ( 4399): #71 Element.updateChild�[39;49m
�[38;5;244mI/flutter ( 4399): #72 ComponentElement.performRebuild�[39;49m
�[38;5;244mI/flutter ( 4399): #73 Element.rebuild�[39;49m
�[38;5;244mI/flutter ( 4399): #74 ComponentElement._firstBuild�[39;49m
�[38;5;244mI/flutter ( 4399): #75 ComponentElement.mount�[39;49m
�[38;5;244mI/flutter ( 4399): #76 Element.inflateWidget�[39;49m
�[38;5;244mI/flutter ( 4399): #77 Element.updateChild�[39;49m
�[38;5;244mI/flutter ( 4399): #78 ComponentElement.performRebuild�[39;49m
�[38;5;244mI/flutter ( 4399): #79 Element.rebuild�[39;49m
�[38;5;244mI/flutter ( 4399): #80 ComponentElement._firstBuild�[39;49m
�[38;5;244mI/flutter ( 4399): #81 ComponentElement.mount�[39;49m
�[38;5;244mI/flutter ( 4399): #82 Element.inflateWidget�[39;49m
�[38;5;244mI/flutter ( 4399): #83 Element.updateChild�[39;49m
�[38;5;244mI/flutter ( 4399): #84 ComponentElement.performRebuild�[39;49m
�[38;5;244mI/flutter ( 4399): #85 Element.rebuild�[39;49m
�[38;5;244mI/flutter ( 4399): #86 ComponentElement._firstBuild�[39;49m
�[38;5;244mI/flutter ( 4399): #87 ComponentElement.mount�[39;49m
�[38;5;244mI/flutter ( 4399): #88 Element.inflateWidget�[39;49m
�[38;5;244mI/flutter ( 4399): #89 Element.updateChild�[39;49m
�[38;5;244mI/flutter ( 4399): #90 ComponentElement.performRebuild�[39;49m
�[38;5;244mI/flutter ( 4399): #91 Element.rebuild�[39;49m
�[38;5;244mI/flutter ( 4399): #92 ComponentElement._firstBuild�[39;49m
�[38;5;244mI/flutter ( 4399): #93 ComponentElement.mount�[39;49m
�[38;5;244mI/flutter ( 4399): #94 Element.inflateWidget�[39;49m
�[38;5;244mI/flutter ( 4399): #95 Element.updateChild�[39;49m
�[38;5;244mI/flutter ( 4399): #96 SingleChildRenderObjectElement.mount�[39;49m
�[38;5;244mI/flutter ( 4399): #97 Element.inflateWidget�[39;49m
�[38;5;244mI/flutter ( 4399): #98 Element.updateChild�[39;49m
�[38;5;244mI/flutter ( 4399): #99 ComponentElement.performRebuild�[39;49m
�[38;5;244mI/flutter ( 4399): #100 Element.rebuild�[39;49m
�[38;5;244mI/flutter ( 4399): #101 ComponentElement._firstBuild�[39;49m
�[38;5;244mI/flutter ( 4399): #102 StatefulElement._firstBuild�[39;49m
�[38;5;244mI/flutter ( 4399): #103 ComponentElement.mount�[39;49m
�[38;5;244mI/flutter ( 4399): #104 Element.inflateWidget�[39;49m
�[38;5;244mI/flutter ( 4399): #105 Element.updateChild�[39;49m
�[38;5;244mI/flutter ( 4399): #106 ComponentElement.performRebuild�[39;49m
�[38;5;244mI/flutter ( 4399): #107 Element.rebuild�[39;49m
�[38;5;244mI/flutter ( 4399): #108 ComponentElement._firstBuild�[39;49m
�[38;5;244mI/flutter ( 4399): #109 ComponentElement.mount�[39;49m
�[38;5;244mI/flutter ( 4399): #110 Element.inflateWidget�[39;49m
�[38;5;244mI/flutter ( 4399): #111 Element.updateChild�[39;49m
�[38;5;244mI/flutter ( 4399): #112 ComponentElement.performRebuild�[39;49m
�[38;5;244mI/flutter ( 4399): #113 Element.rebuild�[39;49m
�[38;5;244mI/flutter ( 4399): #114 ComponentElement._firstBuild�[39;49m
�[38;5;244mI/flutter ( 4399): #115 StatefulElement._firstBuild�[39;49m
�[38;5;244mI/flutter ( 4399): #116 ComponentElement.mount�[39;49m
�[38;5;244mI/flutter ( 4399): #117 Element.inflateWidget�[39;49m
�[38;5;244mI/flutter ( 4399): #118 Element.updateChild�[39;49m
�[38;5;244mI/flutter ( 4399): #119 ComponentElement.performRebuild�[39;49m
�[38;5;244mI/flutter ( 4399): #120 Element.rebuild�[39;49m
�[38;5;244mI/flutter ( 4399): #121 ComponentElement._firstBuild�[39;49m
�[38;5;244mI/flutter ( 4399): #122 ComponentElement.mount�[39;49m
�[38;5;244mI/flutter ( 4399): #123 Element.inflateWidget�[39;49m
�[38;5;244mI/flutter ( 4399): #124 Element.updateChild�[39;49m
�[38;5;244mI/flutter ( 4399): #125 ComponentElement.performRebuild�[39;49m
�[38;5;244mI/flutter ( 4399): #126 Element.rebuild�[39;49m
�[38;5;244mI/flutter ( 4399): #127 ComponentElement._firstBuild�[39;49m
�[38;5;244mI/flutter ( 4399): #128 ComponentElement.mount�[39;49m
�[38;5;244mI/flutter ( 4399): #129 Element.inflateWidget�[39;49m
�[38;5;244mI/flutter ( 4399): #130 Element.updateChild�[39;49m
�[38;5;244mI/flutter ( 4399): #131 ComponentElement.performRebuild�[39;49m
�[38;5;244mI/flutter ( 4399): #132 Element.rebuild�[39;49m
�[38;5;244mI/flutter ( 4399): #133 ComponentElement._firstBuild�[39;49m
�[38;5;244mI/flutter ( 4399): #134 ComponentElement.mount�[39;49m
�[38;5;244mI/flutter ( 4399): #135 Element.inflateWidget�[39;49m
�[38;5;244mI/flutter ( 4399): #136 Element.updateChild�[39;49m
�[38;5;244mI/flutter ( 4399): #137 SingleChildRenderObjectElement.mount�[39;49m
�[38;5;244mI/flutter ( 4399): #138 Element.inflateWidget�[39;49m
�[38;5;244mI/flutter ( 4399): #139 Element.updateChild�[39;49m
�[38;5;244mI/flutter ( 4399): #140 ComponentElement.performRebuild�[39;49m
�[38;5;244mI/flutter ( 4399): #141 Element.rebuild�[39;49m
�[38;5;244mI/flutter ( 4399): #142 ComponentElement._firstBuild�[39;49m
�[38;5;244mI/flutter ( 4399): #143 ComponentElement.mount�[39;49m
�[38;5;244mI/flutter ( 4399): #144 Element.inflateWidget�[39;49m
�[38;5;244mI/flutter ( 4399): #145 Element.updateChild�[39;49m
�[38;5;244mI/flutter ( 4399): #146 ComponentElement.performRebuild�[39;49m
�[38;5;244mI/flutter ( 4399): #147 Element.rebuild�[39;49m
�[38;5;244mI/flutter ( 4399): #148 ComponentElement._firstBuild�[39;49m
�[38;5;244mI/flutter ( 4399): #149 StatefulElement._firstBuild�[39;49m
�[38;5;244mI/flutter ( 4399): #150 ComponentElement.mount�[39;49m
�[38;5;244mI/flutter ( 4399): #151 Element.inflateWidget�[39;49m
�[38;5;244mI/flutter ( 4399): #152 Element.updateChild�[39;49m
�[38;5;244mI/flutter ( 4399): #153 ComponentElement.performRebuild�[39;49m
�[38;5;244mI/flutter ( 4399): #154 Element.rebuild�[39;49m
�[38;5;244mI/flutter ( 4399): #155 ComponentElement._firstBuild�[39;49m
�[38;5;244mI/flutter ( 4399): #156 StatefulElement._firstBuild�[39;49m
�[38;5;244mI/flutter ( 4399): #157 ComponentElement.mount�[39;49m
�[38;5;244mI/flutter ( 4399): #158 Element.inflateWidget�[39;49m
�[38;5;244mI/flutter ( 4399): #159 Element.updateChild�[39;49m
�[38;5;244mI/flutter ( 4399): #160 ComponentElement.performRebuild�[39;49m
�[38;5;244mI/flutter ( 4399): #161 Element.rebuild�[39;49m
�[38;5;244mI/flutter ( 4399): #162 ComponentElement._firstBuild�[39;49m
�[38;5;244mI/flutter ( 4399): #163 StatefulElement._firstBuild�[39;49m
�[38;5;244mI/flutter ( 4399): #164 ComponentElement.mount�[39;49m
�[38;5;244mI/flutter ( 4399): #165 Element.inflateWidget�[39;49m
�[38;5;244mI/flutter ( 4399): #166 Element.updateChild�[39;49m
�[38;5;244mI/flutter ( 4399): #167 ComponentElement.performRebuild�[39;49m
�[38;5;244mI/flutter ( 4399): #168 Element.rebuild�[39;49m
�[38;5;244mI/flutter ( 4399): #169 ComponentElement._firstBuild�[39;49m
�[38;5;244mI/flutter ( 4399): #170 ComponentElement.mount�[39;49m
�[38;5;244mI/flutter ( 4399): #171 Element.inflateWidget�[39;49m
�[38;5;244mI/flutter ( 4399): #172 Element.updateChild�[39;49m
�[38;5;244mI/flutter ( 4399): #173 ComponentElement.performRebuild�[39;49m
�[38;5;244mI/flutter ( 4399): #174 Element.rebuild�[39;49m
�[38;5;244mI/flutter ( 4399): #175 ComponentElement._firstBuild�[39;49m
�[38;5;244mI/flutter ( 4399): #176 StatefulElement._firstBuild�[39;49m
�[38;5;244mI/flutter ( 4399): #177 ComponentElement.mount�[39;49m
�[38;5;244mI/flutter ( 4399): #178 Element.inflateWidget�[39;49m
�[38;5;244mI/flutter ( 4399): #179 Element.updateChild�[39;49m
�[38;5;244mI/flutter ( 4399): #180 ComponentElement.performRebuild�[39;49m
�[38;5;244mI/flutter ( 4399): #181 Element.rebuild�[39;49m
�[38;5;244mI/flutter ( 4399): #182 ComponentElement._firstBuild�[39;49m
�[38;5;244mI/flutter ( 4399): #183 ComponentElement.mount�[39;49m
�[38;5;244mI/flutter ( 4399): #184 Element.inflateWidget�[39;49m
�[38;5;244mI/flutter ( 4399): #185 Element.updateChild�[39;49m
�[38;5;244mI/flutter ( 4399): #186 RenderObjectToWidgetElement._rebuild�[39;49m
�[38;5;244mI/flutter ( 4399): #187 RenderObjectToWidgetElement.mount�[39;49m
�[38;5;244mI/flutter ( 4399): #188 RenderObjectToWidgetAdapter.attachToRenderTree.�[39;49m
�[38;5;244mI/flutter ( 4399): #189 BuildOwner.buildScope�[39;49m
�[38;5;244mI/flutter ( 4399): #190 RenderObjectToWidgetAdapter.attachToRenderTree�[39;49m
�[38;5;244mI/flutter ( 4399): #191 WidgetsBinding.attachRootWidget�[39;49m
�[38;5;244mI/flutter ( 4399): #192 WidgetsBinding.scheduleAttachRootWidget.�[39;49m
�[38;5;244mI/flutter ( 4399): #201 _Timer._runTimers (dart:isolate-patch/timer_impl.dart:384:19)�[39;49m
�[38;5;244mI/flutter ( 4399): #202 _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:418:5)�[39;49m
�[38;5;244mI/flutter ( 4399): #203 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:174:12)�[39;49m
I/flutter ( 4399): (elided 8 frames from package dart:async and package dart:async-patch)
I/flutter ( 4399):
I/flutter ( 4399): ════════════════════════════════════════════════════════════════════════════════════════════════════
√ Built build\app\outputs\apk\debug\app-debug.apk.

@dozykeys
Copy link

So i finally found a working solution.

Start the app with the "/" named route. In this case, the app starts on the FirstScreen widget.
When navigating to the "/" route, build the FirstScreen widget.
When navigating to the "/second" route, build the SecondScreen widget.
MaterialApp(
initialRoute: '/',
routes: {
'/': (context) => FirstScreen(),
'/second': (context) => SecondScreen(),
},
);
https://flutter.dev/docs/cookbook/navigation/named-routes

@lock
Copy link

lock bot commented May 5, 2020

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

@lock lock bot locked and limited conversation to collaborators May 5, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds
Projects
None yet
Development

No branches or pull requests

5 participants