- override
The route should remove its overlays and free any other resources.
A call to didPop() implies that the Route should call dispose() itself, but it is possible for dispose() to be called directly (e.g. if the route is replaced, or if the navigator itself is disposed).
Source
@override void dispose() { _controller.dispose(); super.dispose(); }