Here is my code, how can i solve that? enter image description here
enter image description here enter image description here
CodePudding user response:
you are using Hero widget in your screens and have the same tag, search for Hero in your screen and give it different tag or remove it
CodePudding user response:
please refer to this example may be you have given one herotag to 2 different widgets.
There are multiple heroes that share the same tag within a subtree
refer to above link for example