Recently I found that the Google Map is not shown in TabBarView widget after upgrading flutter from version 3.3.10 to 3.7.0 or newer. The code to prepare map is executed but there is nothing displayed.
I have tested this with several different versions and none is showing the map. Any ideas what to do because I would like to upgrade the whole project to latest flutter version.
Here is the code which prepares the map with one polygon and a marker which represents the centroid of the polygon. This code is always executed, however the result is not displayed. The same widget is normally shown in other widgets but not in a TabBarView.
Recently I found that the Google Map is not shown in TabBarView widget after upgrading flutter from version 3.3.10 to 3.7.0 or newer. The code to prepare map is executed but there is nothing displayed.
I have tested this with several different versions and none is showing the map. Any ideas what to do because I would like to upgrade the whole project to latest flutter version.
Here is the code which prepares the map with one polygon and a marker which represents the centroid of the polygon. This code is always executed, however the result is not displayed. The same widget is normally shown in other widgets but not in a TabBarView.
The above widget is shown in widget tree like this:
The map is displayed in flutter 3.3.10.
The map is not displayed in flutter 3.7.0 or newer.