If tooltip is used in new route and being shown at the time the user backs out of the route or the route is popped, overlay.remove does not seem to be called. Ensure that the overlay is removed (if it exists) in the disposed() method of the widget state.
If tooltip is used in new route and being shown at the time the user backs out of the route or the route is popped, overlay.remove does not seem to be called. Ensure that the overlay is removed (if it exists) in the disposed() method of the widget state.