context property

BuildContext get context

Access the global BuildContext associated with the NavigatorState.

Implementation

BuildContext get context => _key.currentContext!;