How to set an active Marker with Google Maps on Flutter

Posted by Jennifer | Updated on

Want to set an active Marker with Google Maps on Flutter? You can implement custom active state through onTap event handler. In stateful widget create state to track selected marker and rebuild all markers comparing their IDs to the highlighted one:


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