BuildContext subtreeContext

The build context for the subtree containing the primary content of this route.

Source

BuildContext get subtreeContext => _subtreeKey.currentContext;