getGlobalContext property
BuildContext?
get
getGlobalContext
获取全局context
Implementation
BuildContext? get getGlobalContext =>
_navigatorKey.currentState?.overlay?.context;
获取全局context
BuildContext? get getGlobalContext =>
_navigatorKey.currentState?.overlay?.context;