Flutter using videoplayer in a listview returning multiple errors
0 I have a tabBarView with a listview in one of the tabs.I have the gesture detector below inside the listview. I am trying to show some newtwork videos. VideoPlayerController playercontroller; VideoPlayerController retcontroller(String varainatVideo) if(playercontroller == null) playercontroller = VideoPlayerController.network(varainatVideo); return playercontroller; GestureDetector( child:AspectRatio( aspectRatio: 16/9, child:Stack( children:<Widgets>[ Chewie( retcontroller(stringVideo), cupertinoProgressColors: ChewieProgressColors(), showControls:false, ), ] ) ) ); whenever I switch from that tab bar to another and try to navigate to another page in the second tabBar I get a black screen instead of the normal page.but when I remove the videoPage I dont get this problem and get this in the console I/flutter (19985): Another exception was thrown: There are multiple heroes that share the same tag within a subtree. I/flutter (19985): Another exception w...