I am using the flutter Google Maps plugin. Following a certain user interaction my application needs to display some text over the top of the map. To do this I am using a Stack; following the user interaction I am fading a text widget in and after a short delay it fades out again (using an AnimationController, Animation and FadeTransition).
I have come across an issue on iOS. If I minimize the application (i.e. send it to the background) and then bring the application back to the foreground the overlaid text no longer gets displayed. From what I can tell it's as though the text is getting drawn but somehow the map is preventing it from being displayed correctly. I suspect (anecdotally) that the problem is caused by platform views on iOS.
Has anybody seen a similar issue? Are there any workarounds?