dispose method

  1. @override
void dispose ()
inherited

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();
}