context property
dynamic
get
context
Implementation
static get context {
if (navigatorKey == null) {
throw FlutterError('未初始化NavigatorKey');
}
return navigatorKey!.currentContext;
}
static get context {
if (navigatorKey == null) {
throw FlutterError('未初始化NavigatorKey');
}
return navigatorKey!.currentContext;
}