context property
BuildContext
get
context
Retrieves the current BuildContext from the navigatorKey.
Implementation
static BuildContext get context => navigatorKey.currentContext!;
Retrieves the current BuildContext from the navigatorKey.
static BuildContext get context => navigatorKey.currentContext!;