dispose method
- @override
override
The route should remove its overlays and free any other resources.
This route is no longer referenced by the navigator.
Implementation
@override
void dispose() {
focusScopeNode.detach();
super.dispose();
}