Flutter exception when having 2 FloatingActionButton

Posted by Jessica Taylor | Updated on

Flutter exception when having 2 FloatingActionButton

Ok, I found out that adding heroTag: null to the properties of the FloatingActionButton solved the issue.

The part of the code that caused the exception is now the following and seems to be working.


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers