context property

BuildContext context

Access the global BuildContext associated with the NavigatorState.

Implementation

BuildContext get context => _key.currentContext!;