skip to Main Content

Flutter – Another exception was thrown: Duplicate GlobalKey detected in widget tree – StatefulShellRoute

I tried to add route transition animation with AnimatedSwitcher to StatefulShellRoute.indexedStack but got this error: flutter: ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════ flutter: The following assertion was thrown while finalizing the widget tree: flutter: Duplicate GlobalKey detected in widget…

VIEW QUESTION
Back To Top
Search